Net::FTPServer::FileHandle - A Net::FTPServer file handle.
use Net::FTPServer::FileHandle;
$filename = $fileh->filename;
Return the filename (last) component.
$dirh = $fileh->dir;
Return the directory which contains this file.
$fh = $fileh->open (["r"|"w"|"a"]);
Open a file handle (derived from IO::Handle, see IO::Handle(3)) in either read or write mode.
IO::Handle
$rv = $fileh->delete;
Delete the current file. If the delete command was successful, then return 0, else if there was an error return -1.
$rv = $fileh->can_read;
Return true if the current user can read the given file.
$rv = $fileh->can_write;
Return true if the current user can overwrite the given file.
$rv = $fileh->can_append
Return true if the current user can append to the given file.
$rv = $fileh->can_rename;
Return true if the current user can change the name of the given file.
$rv = $fileh->can_delete;
Return true if the current user can delete the given file.
Richard Jones (rich@annexia.org).
Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road, London, SW6 3EG, UK
Net::FTPServer(3), perl(1)
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 76) unless the first thing after the =over is an =item
=back doesn't take any parameters, but you said =back 4
To install Net::FTPServer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FTPServer
CPAN shell
perl -MCPAN -e shell install Net::FTPServer
For more information on module installation, please visit the detailed CPAN module installation guide.