AnyEvent::FTP::Server::Context::Memory - FTP Server client context class with full read/write access
use AnyEvent::FTP::Server; my $server = AnyEvent::FTP::Server->new( default_context => 'AnyEvent::FTP::Server::Context::Memory', );
This class provides a context for AnyEvent::FTP::Server which uses memory to provide storage. Once the server process terminates, all data stored is lost.
Note that this implementation is incomplete.
This class consumes these roles:
Has containing the directory tree for the context.
The current working directory for the context. This will be an Path::Class::Dir.
Returns the hash (for directory) or scalar (for file) of a file in the filesystem.
my $filename = $context->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.