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
13 $filename = $fileh->filename;
14
15 Return the filename (last) component.
16
17 $dirh = $fileh->dir;
18
19 Return the directory which contains this file.
20
21 $fh = $fileh->open (["r"|"w"|"a"]);
22
23 Open a file handle (derived from "IO::Handle", see IO::Handle(3))
24 in either read or write mode.
25
26 $rv = $fileh->delete;
27
28 Delete the current file. If the delete command was successful, then
29 return 0, else if there was an error return -1.
30
32 Richard Jones (rich@annexia.org).
33
35 Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
36 London, SW6 3EG, UK
37
39 Net::FTPServer(3), perl(1)
40
42 Hey! The above document had some coding errors, which are explained
43 below:
44
45 Around line 37:
46 You can't have =items (as at line 73) unless the first thing after
47 the =over is an =item
48
49 Around line 134:
50 =back doesn't take any parameters, but you said =back 4
51
52
53
54perl v5.12.0 2003-09-28 Net::FTPServer::FileHandle(3)