Net::FTPServer::FileHandle(3pm)

Net::FTPServer::FileHandle3pm

A net::ftpserver file handle.

Usage

  use Net::FTPServer::FileHandle;

Overview

Methods

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

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

Authors

Richard Jones ([email protected]).

From libnet-ftpserver-perl 1.120-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.