AnyEvent::FTP::Client::Response - Response class for asynchronous ftp client
version 0.19
Instances of this class get sent to condition variables returned by commands in AnyEvent::FTP::Client.
my($ip, $port) = $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.
my $dir = $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 $filename = $res->get_file;
Returns the filename from a response to the STOU
command.
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.