On 4/28/05, Kelly Stumbaugh wrote:
> Does anyone running Perl on Windows recommend a module for FTP?  I have
> tried Net::FTP::Common, but I can't get it to work and there isn't much
> in the way of documentation.  If you have some sample code that
> retrieves a file from an FTP site, it would be really helpful for me to
> see it.  Thanks!

IO::All works like a charm on *nix, however I'm not so sure about
installing it on Windows. If you do manage to install it, downloading
an ftp file is as easy as:
use IO::All;
my $remote_file =
"ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/I/IN/INGY/IO-All-0.33.tar.gz";;
my $local_file = "IO-All-0.33.tar.gz";
io($remote_file) > io($local_file);

HTH,
-- 
Offer Kaye

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to