DirDB-FTP
view release on metacpan or search on metacpan
Most actions can be done with ftp method return values, but
differentiating between directories and non=existent files is
done by parsing the C<message> for the phrase 'no such file'
so if you are using DirDB::FTP against a FTP server that issues
a different errore message when there is no such file, you
will have to edit your copy of the module.
The underlying object is an array containing the Net::FTP
connection object and the absolute path to
the directory, modulo any chrooting the FTP server might do
based on the provided credentials, of course.
Keys are names within the directory, values
are the contents of the files.
A leading space is used as an escape character, the empty
string as a key becomes ' EMPTY' just like in DirDB.
=head2 RISKS
"mkdir locking" is used to protect incomplete directories
( run in 0.461 second using v1.01-cache-2.11-cpan-4d50c553e7e )