Net::FTP::File

Net::FTP::File is a Perl extension for simplifying FTP file operations.
Download

Net::FTP::File Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Daniel Muey
  • Publisher web site:
  • http://search.cpan.org/~dmuey/

Net::FTP::File Tags


Net::FTP::File Description

Net::FTP::File is a Perl extension for simplifying FTP file operations. Net::FTP::File is a Perl extension for simplifying FTP file operations.SYNOPSIS use Net::FTP::File; my $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@"; $ftp->login("anonymous",'-anonymous@') or die "Cannot login ", $ftp->message; if($ftp->isfile($file) { $ftp->move($file,$newfile) or warn $ftp->message; $ftp->chmod(644, $newfile) or warn $ftp->message; } else { print "$file does not exist or is a directory"; } my $dirinfo_hashref = $ftp->dir_hashref; print Dumper $dirinfo_hashref->{$file}; # Dumper() is from Data::Dumper, just FYI $ftp->quit; Requirements: · Perl


Net::FTP::File Related Software