AnyEvent::FTP::Client::Site::NetFtpServer - Site specific commands for Net::FTPServer
version 0.19
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.
$client->site->net_ftp_server->version
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
José Joaquín Atria
This software is copyright (c) 2017-2021 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.