NAME
AnyEvent::FTP::Server::Context::FS - FTP server context that uses real file system (no transfers)
VERSION
version 0.04_01
SYNOPSIS
use AnyEvent::FTP::Server;
my $server = AnyEvent::FTP::Server->new(
default_context => 'AnyEvent::FTP::Server::Context::FS',
);
DESCRIPTION
This is the base class for AnyEvent::FTP::Server::Context::FSRO and AnyEvent::FTP::Server::Context::FSRW.
ROLES
This class consumes these roles:
ATTRIBUTES
$context->cwd
The current working directory as a string.
$context->rename_from
The filename specified by the last FTP RNFR
command.
COMMANDS
In addition to the commands provided by the above roles, this context provides these FTP commands:
- CWD
- CDUP
- PWD
- SIZE
- MKD
- RMD
- DELE
- RNFR
- RNTO
- STAT
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.