perl-Net-FTP-Simple-0.0007-alt1.noarch.rpm


Advertisement

Description

perl-Net-FTP-Simple - Simplified interface to a few common FTP tasks with

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Net-FTP-Simple
Package version 0.0007
Package release alt1
Package architecture noarch
Package type rpm
Installed size 23.95 KB
Download size 23.95 KB
Official Mirror ftp.altlinux.org
use Net::FTP::Simple;.
my @remote_files = Net::FTP::Simple->list_files({
username        => $username,
password        => $password,
server          => $server,
remote_dir      => 'path/to/dir',
debug_ftp       => 1,
file_filter     => qr/foo/,
});
print "List:\n\t", join("\n\t", @remote_files), "\n")
if @remote_files;
my @sent_files = Net::FTP::Simple->send_files({
username        => $username,
password        => $password,
server          => $server,
remote_dir      => 'path/to/dir',
debug_ftp       => 1,
files           => [
'foo.txt',
'bar.txt',
'baz.txt',
],
});
print "The following files were sent successfully:\n\t",
join("\n\t", @sent_files), "\n"
if @sent_files;
my @received_files = Net::FTP::Simple->retrieve_files({
username        => $username,
password        => $password,
server          => $server,
remote_dir      => 'path/to/dir',
debug_ftp       => 1,
files           => [
'foo.txt',
'bar.txt',
'baz.txt',
],
});
print "The following files were retrieved successfully:\n\t",
join("\n\t", @received_files), "\n"
if @received_files;
my @received_filtered_files = Net::FTP::Simple->retrieve_files({
username        => $username,
password        => $password,
server          => $server,
remote_dir      => 'path/to/dir',
debug_ftp       => 1,
file_filter     => qr/^ba.\.txt/,
delete_after    => 1,
});
print "The following files were retrieved successfully:\n\t",
join("\n\t", @received_filtered_files), "\n"
if @received_filtered_files;
my @renamed_files = Net::FTP::Simple->rename_files({
username        => $username,
password        => $password,
server          => $server,
remote_dir      => 'path/to/dir',
debug_ftp       => 1,
rename_files    => {
'old_name'  => 'new_name',
},
});

Alternatives

Package Version Architecture Repository
perl-Net-FTP-Simple - - -

Requires

Name Value
/usr/share/perl5 -
perl(English.pm) -
perl(File/Basename.pm) -
perl(File/Spec.pm) -
perl(Net/FTP.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Net/FTP/Simple.pm) = 0.0.700
perl-Net-FTP-Simple = 0.0007-alt1

Download

Type URL
Binary Package perl-Net-FTP-Simple-0.0007-alt1.noarch.rpm
Source Package perl-Net-FTP-Simple-0.0007-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-FTP-Simple rpm package:
    # sudo apt-get install perl-Net-FTP-Simple

Files

Path
/usr/share/doc/perl-Net-FTP-Simple-0.0007/Changes
/usr/share/doc/perl-Net-FTP-Simple-0.0007/README
/usr/share/perl5/Net/
/usr/share/perl5/Net/FTP/Simple.pm

See Also

Package Description
perl-Net-FTP-Throttle-0.32-alt1.noarch.rpm perl module Net-FTP-Throttle
perl-Net-FTP-Tiny-0.002-alt1.noarch.rpm minimal FTP client
perl-Net-FTP-Versioning-0.01-alt1.noarch.rpm perl module Net-FTP-Versioning
perl-Net-FTP-blat-0.03-alt1.noarch.rpm more methods for Net::FTP Client class
perl-Net-FTPSSL-0.41-alt1_2.noarch.rpm Perl module for FTP over SSL/TLS
perl-Net-FTPSSL-Robust-0.06-alt1.noarch.rpm download directories over FTP with SSL or TLS encryption
perl-Net-FTPSSL-Robust-scripts-0.06-alt1.noarch.rpm Net-FTPSSL-Robust scripts
perl-Net-FTPServer-1.125-alt1_15.noarch.rpm Secure, extensible and configurable Perl FTP server
perl-Net-FTPServer-PWP-1.21-alt1.noarch.rpm perl module Net-FTPServer-PWP
perl-Net-FTPServer-PWP-scripts-1.21-alt1.noarch.rpm Net-FTPServer-PWP scripts
perl-Net-FTPServer-XferLog-1.5-alt1.noarch.rpm perl module Net-FTPServer-XferLog
perl-Net-FTPTLS-0.84-alt1.noarch.rpm Perl FTP client with support for TLS
perl-Net-FTPTurboSync-0.07-alt1.noarch.rpm Perl extension for turbo-ftp-sync script
perl-Net-FTPTurboSync-scripts-0.07-alt1.noarch.rpm Net-FTPTurboSync scripts
perl-Net-Facebook-Oauth2-0.11-alt1.noarch.rpm a simple Perl wrapper around Facebook OAuth v2.0 protocol
Advertisement
Advertisement