1Net::SSH2::File(3)    User Contributed Perl Documentation   Net::SSH2::File(3)
2
3
4

NAME

6       Net::SSH2::File - SSH 2 SFTP file object
7

DESCRIPTION

9       An SFTP file object is created by the Net::SSH2::SFTP "open" method.
10
11   read ( buffer, size )
12       Read size bytes from the file into a given buffer.  Returns number of
13       bytes read, or undef on failure.
14
15   write ( buffer )
16       Write buffer to the remote file; returns bytes written, undef on
17       failure.
18
19   stat
20       Returns file attributes; see Net::SSH2::SFTP::stat.
21
22   setstat ( key, value... )
23       Sets file attributes; see Net::SSH2::SFTP::setstat.
24
25   seek ( offset )
26       Set the file pointer offset.
27
28   tell
29       Returns the current file pointer offset.
30

SEE ALSO

32       Net::SSH2::SFTP.
33

AUTHOR

35       David B. Robins, <dbrobins@cpan.org>
36
38       Copyright (C) 2005, 2006 by David B. Robins; all rights reserved.
39
40       This library is free software; you can redistribute it and/or modify it
41       under the same terms as Perl itself, either Perl version 5.8.0 or, at
42       your option, any later version of Perl 5 you may have available.
43
44
45
46perl v5.12.3                      2007-02-24                Net::SSH2::File(3)
Impressum