SFTPv3Client.@Deprecated public class SFTPClient extends com.trilead.ssh2.SFTPv3Client
SFTPv3Client.| Constructor and Description |
|---|
SFTPClient(com.trilead.ssh2.Connection conn)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.trilead.ssh2.SFTPv3FileAttributes |
_stat(String path)
Deprecated.
Graceful
SFTPv3Client.stat(String) that returns null if the path doesn't exist. |
void |
chmod(String path,
int permissions)
Deprecated.
|
boolean |
exists(String path)
Deprecated.
Checks if the given path exists.
|
void |
mkdirs(String path,
int posixPermission)
Deprecated.
Makes sure that the directory exists, by creating it if necessary.
|
InputStream |
read(String file)
Deprecated.
|
OutputStream |
writeToFile(String path)
Deprecated.
Creates a new file and writes to it.
|
canonicalPath, close, closeFile, createFile, createFile, createFileTruncate, createFileTruncate, createSymlink, fsetstat, fstat, getCharset, getProtocolVersion, ls, lstat, mkdir, mv, openFileRO, openFileRW, read, readLink, rm, rmdir, setCharset, setstat, stat, writepublic SFTPClient(com.trilead.ssh2.Connection conn)
throws IOException
IOExceptionpublic boolean exists(String path) throws IOException
exists in class com.trilead.ssh2.SFTPv3ClientIOExceptionpublic com.trilead.ssh2.SFTPv3FileAttributes _stat(String path) throws IOException
SFTPv3Client.stat(String) that returns null if the path doesn't exist._stat in class com.trilead.ssh2.SFTPv3ClientIOExceptionpublic void mkdirs(String path, int posixPermission) throws IOException
mkdirs in class com.trilead.ssh2.SFTPv3ClientIOExceptionpublic OutputStream writeToFile(String path) throws IOException
writeToFile in class com.trilead.ssh2.SFTPv3ClientIOExceptionpublic InputStream read(String file) throws IOException
read in class com.trilead.ssh2.SFTPv3ClientIOExceptionpublic void chmod(String path, int permissions) throws IOException
chmod in class com.trilead.ssh2.SFTPv3ClientIOExceptionCopyright © 2019. All rights reserved.