|
Ganymed SSH-2 for Java | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of SFTPv3FileHandle in ch.ethz.ssh2 |
---|
Methods in ch.ethz.ssh2 that return SFTPv3FileHandle | |
---|---|
SFTPv3FileHandle |
SFTPv3Client.createFile(java.lang.String fileName)
Create a file and open it for reading and writing. |
SFTPv3FileHandle |
SFTPv3Client.createFile(java.lang.String fileName,
SFTPv3FileAttributes attr)
Create a file and open it for reading and writing. |
SFTPv3FileHandle |
SFTPv3Client.createFileTruncate(java.lang.String fileName)
Create a file (truncate it if it already exists) and open it for reading and writing. |
SFTPv3FileHandle |
SFTPv3Client.createFileTruncate(java.lang.String fileName,
SFTPv3FileAttributes attr)
reate a file (truncate it if it already exists) and open it for reading and writing. |
SFTPv3FileHandle |
SFTPv3Client.openFileRO(java.lang.String fileName)
Open a file for reading. |
SFTPv3FileHandle |
SFTPv3Client.openFileRW(java.lang.String fileName)
Open a file for reading and writing. |
Methods in ch.ethz.ssh2 with parameters of type SFTPv3FileHandle | |
---|---|
void |
SFTPv3Client.closeFile(SFTPv3FileHandle handle)
Close a file. |
void |
SFTPv3Client.fsetstat(SFTPv3FileHandle handle,
SFTPv3FileAttributes attr)
Modify the attributes of a file. |
SFTPv3FileAttributes |
SFTPv3Client.fstat(SFTPv3FileHandle handle)
Retrieve the file attributes of an open file. |
int |
SFTPv3Client.read(SFTPv3FileHandle handle,
long fileOffset,
byte[] dst,
int dstoff,
int len)
Read bytes from a file. |
void |
SFTPv3Client.write(SFTPv3FileHandle handle,
long fileOffset,
byte[] src,
int srcoff,
int len)
Write bytes to a file. |
|
Ganymed SSH-2 for Java | |||||||||
PREV NEXT | FRAMES NO FRAMES |