AnyEvent::FTP::Client::Site::NetFtpServer - Site specific commands for Net::FTPServer
version 0.03
use AnyEvent::FTP::Client; my $client = AnyEvent::FTP::Client->new; $client->connect('ftp://netftpserver')->cb(sub { $client->site->net_ftp_server->version->cb(sub { my($res) = @_; # $res isa AnyEvent::FTP::Client::Response where # the message includes the server version }); });
This class provides the SITE specific commands for Net::FTPServer.
SITE
Get the Net::FTPServer version.
Other SITE commands supported by Net::FTPServer, but not implemented by this class include:
patches that include tests are welcome.
author: Graham Ollis <plicease@cpan.org>
contributors:
Ryo Okamoto
Shlomi Fish
This software is copyright (c) 2013 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install AnyEvent::FTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::FTP
CPAN shell
perl -MCPAN -e shell install AnyEvent::FTP
For more information on module installation, please visit the detailed CPAN module installation guide.