1Net::FTPServer::FileHanUdsleer(3C)ontributed Perl DocumeNnetta:t:iFoTnPServer::FileHandle(3)
2
3
4
6 Net::FTPServer::FileHandle - A Net::FTPServer file handle.
7
9 use Net::FTPServer::FileHandle;
10
12 $filename = $fileh->filename;
13 Return the filename (last) component.
14
15 $dirh = $fileh->dir;
16 Return the directory which contains this file.
17
18 $fh = $fileh->open (["r"|"w"|"a"]);
19 Open a file handle (derived from "IO::Handle", see IO::Handle(3))
20 in either read or write mode.
21
22 $rv = $fileh->delete;
23 Delete the current file. If the delete command was successful, then
24 return 0, else if there was an error return -1.
25
27 Richard Jones (rich@annexia.org).
28
30 Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
31 London, SW6 3EG, UK
32
34 Net::FTPServer(3), perl(1)
35
36
37
38perl v5.32.0 2020-07-28 Net::FTPServer::FileHandle(3)