1Net::FTPServer::Full::FUisleerHaCnodnlter(i3b)uted PerlNDeotc:u:mFeTnPtSaetrivoenr::Full::FileHandle(3)
2
3
4

NAME

6       Net::FTPServer::Full::FileHandle - The full FTP server personality
7

SYNOPSIS

9         use Net::FTPServer::Full::FileHandle;
10

DESCRIPTION

METHODS

13           $dirh = $fileh->dir;
14
15           Return the directory which contains this file.
16
17           $fh = $fileh->open (["r"|"w"|"a"]);
18
19           Open a file handle (derived from "IO::Handle", see IO::Handle(3))
20           in either read or write mode.
21
22           ($mode, $perms, $nlink, $user, $group, $size, $time) =
23           $handle->status;
24
25           Return the file or directory status. The fields returned are:
26
27             $mode     Mode        'd' = directory,
28                                   'f' = file,
29                                   and others as with
30                                   the find(1) -type option.
31             $perms    Permissions Permissions in normal octal numeric format.
32             $nlink    Link count
33             $user     Username    In printable format.
34             $group    Group name  In printable format.
35             $size     Size        File size in bytes.
36             $time     Time        Time (usually mtime) in Unix time_t format.
37
38           In derived classes, some of this status information may well be
39           synthesized, since virtual filesystems will often not contain
40           information in a Unix-like format.
41
42           $rv = $handle->move ($dirh, $filename);
43
44           Move the current file (or directory) into directory $dirh and call
45           it $filename. If the operation is successful, return 0, else return
46           -1.
47
48           Underlying filesystems may impose limitations on moves: for
49           example, it may not be possible to move a directory; it may not be
50           possible to move a file to another directory; it may not be
51           possible to move a file across filesystems.
52
53           $rv = $fileh->delete;
54
55           Delete the current file. If the delete command was successful, then
56           return 0, else if there was an error return -1.
57
58           $link = $fileh->readlink;
59
60           If the current file is really a symbolic link, read the contents of
61           the link and return it.
62

AUTHORS

64       Richard Jones (rich@annexia.org).
65
67       Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
68       London, SW6 3EG, UK
69

SEE ALSO

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

POD ERRORS

74       Hey! The above document had some coding errors, which are explained
75       below:
76
77       Around line 37:
78           You can't have =items (as at line 56) unless the first thing after
79           the =over is an =item
80
81       Around line 213:
82           =back doesn't take any parameters, but you said =back 4
83
84
85
86perl v5.12.0                      2004-11-09Net::FTPServer::Full::FileHandle(3)
Impressum