in reply to FTP

Did you even look at the docs for Net::FTP ?
use Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 0); $ftp->login("anonymous",'-anonymous@'); $ftp->cwd("/pub"); $ftp->get("that.file"); $ftp->quit;
Should be as easy as that, or if you're doing anonymous ftp access you could use the LWP::Simple module with even greater ease.
use LWP::Simple; getstore 'ftp://ftp.somedomain.com/somefile.txt', 'somefile.txt';

HTH

_________
broquaint

Replies are listed 'Best First'.
Re^2: FTP
by volant (Initiate) on Jul 07, 2005 at 23:59 UTC
    hi, i m now having problem on Net::FTP. I'd setup ftp server on IIS on my win2k prof. then while i create a cgi script to get the file, lets say a picture file, i could retrieve that file and put into my own server. if i work on my web system, POST to the cgi script to get he file, failed, give me the error message : cant open the file, permission denied. i m really getting frustrated and dont know what's going wrong :( by the way, i would try on LWP::Simple see if can work.