---
name: "Net::FTPServer::FileHandle"
section: "3pm"
platform: "linux"
package: "libnet-ftpserver-perl"
version: "1.120-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::FTPServer::FileHandle"
---

# Net::FTPServer::FileHandle(3pm)

A Net::FTPServer file handle.

## NAME

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

## SYNOPSIS

```
  use Net::FTPServer::FileHandle;
```

## DESCRIPTION

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

## AUTHORS

Richard Jones (rich@annexia.org).

## COPYRIGHT

Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road, London, SW6 3EG, UK

## SEE ALSO

*Net::FTPServer*(3), [*perl*(1)](/perl/1.md)
