Filesys::Virtual::SSH - remote execution Virtual Filesystem
use Filesys::Virtual::SSH; my $fs = Filesys::Virtual::SSH->new({ host => 'localhost', cwd => '/', root_path => '/', home_path => '/home', }); my @files = $fs->list("/"); # a deeply inneffecient equivalent to # my @files = `ls -a /`; # chomp @files;
Filesys::Virtual::SSH invokes the ssh command line utility in order to make a remote filesystem have the same api as any other. It's primarily useful for POE::Component::Server::FTP.
Richard Clamp <richardc@unixbeard.net>
Copyright 2004, 2005 Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Filesys::Virtual, POE::Component::Server::FTP
To install Filesys::Virtual::SSH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Filesys::Virtual::SSH
CPAN shell
perl -MCPAN -e shell install Filesys::Virtual::SSH
For more information on module installation, please visit the detailed CPAN module installation guide.