Downloading file from internet

Hi,

I need to write a script to download a file (say http: //www.mysite.com/myfile.txt) from the internet (please note that the file is on http not ftp).
Please let me know if there is any method other than wget.

Thanks,
Chetan

And why exactly would you not like to use wget?

libwww-perl GET and curl come to mind but they are less likely to be installed than wget.

The administrators of the unix server are not willing to install wget or any other tool on the machine, so i am looking at using the existing tools.

can you telnet to the http box?

... to port 80? (^:

telnet is a bitch to script, but if you have nc (netcat) you're all set (given time and predisposition to reinvent all the possibly necessary trainer wheels for gzip encoding, HTTP chunking, cookies, and what not).