NAME
AnyEvent::FTP::Client::Response - Response class for asynchronous ftp client
VERSION
version 0.06
DESCRIPTION
Instances of this class get sent to condition variables returned by commands in AnyEvent::FTP::Client.
SUPER CLASS
METHODS
$res->get_address_and_port
This method is used to parse the response to the PASV
command to extract the IP address and port number. It returns these as a list:
my($ip, $port) = $res->get_address_and_port;
$res->get_dir
This method is used to extract the path from a response to the PWD
command. It returns the path as a simple string:
my $dir = $res->get_dir;
$res->get_file
Returns the filename from a response to the STOU
command.
AUTHOR
author: Graham Ollis <plicease@cpan.org>
contributors:
Ryo Okamoto
Shlomi Fish
COPYRIGHT AND LICENSE
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.