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

METHODS

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

AUTHORS

56       Richard Jones (rich@annexia.org).
57
59       Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
60       London, SW6 3EG, UK
61

SEE ALSO

63       Net::FTPServer(3), perl(1)
64
65
66
67perl v5.30.0                      2019-07-26Net::FTPServer::Full::FileHandle(3)
Impressum