
IO::Ftp - A simple interface to Net::FTP's socket level get/put

use IO::Ftp;
my $out = IO::Ftp->new('>','//user:pwd@foo.bar.com/foo/bar/fu.bar', TYPE=>'a');
my $in = IO::Ftp->new('<','//foo.bar.com/foo/bar/fu.bar', TYPE=>'a'); #anon access example
while (<$in>) {
s/foo/bar/g;
print $out;
}
close $in;
close $out;
### for something along the lines of 'mget':
while (my $in = IO::Ftp->new('<<','//foo.bar.com/foo/bar/*.txt', TYPE=>'a') { print "processing ",$in->filename, "\n"; #... $in->close; $in->delete; }

None by default.
Net::FTP File::Basename URI Symbol

MODE indicates the FTP command to use, and is one of
URI is an FTP format URI without the leading 'ftp:'. OPTIONS are passed in hash format, and can be one or more of

size and mdtm cache their values before the socket is opened. After the socket is closed, they call the Net::FTP methods of the same name.

Graham Barr for his Net::FTP module, which does all the 'real work'.
tye at PerlMonks

(c) 2003 Mike Blackwell. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Mike Blackwell <mikeb@cpan.org>

Net::FTP perl(1).