AnyEvent::FTP::Server::Context::FS - FTP server context that uses real file system (no transfers)
use AnyEvent::FTP::Server; my $server = AnyEvent::FTP::Server->new( default_context => 'AnyEvent::FTP::Server::Context::FS', );
This is the base class for AnyEvent::FTP::Server::Context::FSRO and AnyEvent::FTP::Server::Context::FSRW.
This class consumes these roles:
my $dir = $context->cwd;
The current working directory as a string.
my $filename = $context-E<gt>rename_from;
The filename specified by the last FTP
In addition to the commands provided by the above roles, this context provides these FTP commands:
Author: Graham Ollis <firstname.lastname@example.org>
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.