NAME
POE::Component::Server::FTP - Event-based FTP server on a virtual filesystem
SYNOPSIS
use POE qw(Wheel::ReadWrite Driver::SysRW
Wheel::SocketFactory Component::Server::FTP);
POE::Component::Server::FTP->spawn
(
Alias => 'ftpd',
ListenPort => 2112,
FilesystemClass => 'Filesys::Virtual::Plain',
FilesystemArgs =>
{
'root_path' => '/', # This is actual root for all paths
'cwd' => '/', # Initial current working dir
'home_path' => '/Users', # Home directory for '~'
}
);
$poe_kernel->run();
DESCRIPTION
POE::Component::Server::FTP is an event driven FTP server backed by a virtual filesystem interface as implemented by Filesys::Virtual.
AUTHORS
L.M.Orchard, deus_x@pobox.com David Davis, xantus@cpan.org
SEE ALSO
perl(1), Filesys::Virtual.