Net::FTPServer::FileHandle - A Net::FTPServer file handle.


Net-FTPServer documentation  | view source Contained in the Net-FTPServer distribution.

Index


NAME

Top

Net::FTPServer::FileHandle - A Net::FTPServer file handle.

SYNOPSIS

Top

  use Net::FTPServer::FileHandle;

DESCRIPTION

Top

METHODS

Top

$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.

$rv = $fileh->delete;

Delete the current file. If the delete command was successful, then return 0, else if there was an error return -1.

AUTHORS

Top

Richard Jones (rich@annexia.org).

COPYRIGHT

Top

SEE ALSO

Top

Net::FTPServer(3), perl(1)


Net-FTPServer documentation  | view source Contained in the Net-FTPServer distribution.