C# Class Tamir.SharpSsh.jsch.ChannelSftp

Based on JSch-0.1.30
Inheritance: ChannelSession
Datei anzeigen Open project: soywiz/csharputils Class Usage Examples

Public Properties

Property Type Description
SSH_FX_BAD_MESSAGE int
SSH_FX_CONNECTION_LOST int
SSH_FX_EOF int
SSH_FX_FAILURE int
SSH_FX_NO_CONNECTION int
SSH_FX_NO_SUCH_FILE int
SSH_FX_OK int
SSH_FX_OP_UNSUPPORTED int
SSH_FX_PERMISSION_DENIED int

Public Methods

Method Description
ListEntries ( String path ) : List
ReadLink ( String path ) : String
Rename ( String oldpath, String newpath ) : void
cd ( String path ) : void
chgrp ( int gid, String path ) : void
chmod ( SftpATTRS permissions, String path ) : void
chown ( int uid, String path ) : void
disconnect ( ) : void
exit ( ) : void
get ( String src, SftpProgressMonitor monitor = null, int mode = OVERWRITE ) : InputStream
get ( String src, OutputStream dst ) : void
get ( String src, OutputStream dst, SftpProgressMonitor monitor ) : void
get ( String src, OutputStream dst, SftpProgressMonitor monitor, int mode, long skip ) : void
get ( String src, String dst ) : void
get ( String src, String dst, SftpProgressMonitor monitor ) : void
get ( String src, String dst, SftpProgressMonitor monitor, int mode ) : void
getHome ( ) : String
init ( ) : void
lcd ( String path ) : void
lpwd ( ) : String
lstat ( String path ) : SftpATTRS
mkdir ( String path ) : void
put ( InputStream src, String dst ) : void
put ( InputStream src, String dst, SftpProgressMonitor monitor ) : void
put ( InputStream src, String dst, SftpProgressMonitor monitor, int mode ) : void
put ( InputStream src, String dst, int mode ) : void
put ( String src, String dst ) : void
put ( String src, String dst, SftpProgressMonitor monitor ) : void
put ( String src, String dst, SftpProgressMonitor monitor, int mode ) : void
put ( String src, String dst, int mode ) : void
pwd ( ) : String
quit ( ) : void
rm ( String path ) : void
rmdir ( String path ) : void
setMtime ( String path, int mtime ) : void
setStat ( String path, SftpATTRS attr ) : void
start ( ) : void
stat ( String path ) : SftpATTRS
symlink ( String oldpath, String newpath ) : void
version ( ) : String

Private Methods

Method Description
ChannelSftp ( ) : System
IsPattern ( String path ) : bool
IsPattern ( byte path ) : bool
ReadHeader ( Buffer buf, Header header ) : Header
RemoteAbsolutePath ( String path ) : String
_get ( String src, OutputStream dst, SftpProgressMonitor monitor, int mode, long skip ) : void
_lstat ( String path ) : SftpATTRS
_put ( InputStream src, String dst, SftpProgressMonitor monitor, int mode ) : void
_sendCLOSE ( byte handle, Header header ) : bool
_setStat ( String path, SftpATTRS attr ) : void
_stat ( String path ) : SftpATTRS
addRunningThread ( System thread ) : void
checkStatus ( int ackid, Header _header ) : bool
clearRunningThreads ( ) : void
fill ( byte buf, int s, int len ) : int
glob_local ( String _path ) : ArrayList
glob_remote ( String _path ) : ArrayList
isLocalAbsolutePath ( String path ) : bool
isRemoteDir ( String path ) : bool
localAbsolutePath ( String path ) : String
putHEAD ( byte type, int length ) : void
read ( byte buf, int s, int l ) : void
sendCLOSE ( byte path ) : void
sendFSTAT ( byte handle ) : void
sendINIT ( ) : void
sendLSTAT ( String path ) : void
sendMKDIR ( String path, SftpATTRS attr ) : void
sendOPEN ( String path, int mode ) : void
sendOPENA ( String path ) : void
sendOPENDIR ( String path ) : void
sendOPENDIR ( byte path ) : void
sendOPENR ( String path ) : void
sendOPENW ( String path ) : void
sendPacketPath ( byte fxp, String path ) : void
sendPacketPath ( byte fxp, String p1, String p2 ) : void
sendPacketPath ( byte fxp, byte path ) : void
sendPacketPath ( byte fxp, byte p1, byte p2 ) : void
sendREAD ( byte handle, long offset, int length ) : void
sendREADDIR ( byte path ) : void
sendREADLINK ( String path ) : void
sendREALPATH ( String path ) : void
sendREMOVE ( String path ) : void
sendRENAME ( String p1, String p2 ) : void
sendRMDIR ( String path ) : void
sendSETSTAT ( String path, SftpATTRS attr ) : void
sendSTAT ( String path ) : void
sendSYMLINK ( String p1, String p2 ) : void
sendWRITE ( byte handle, long offset, byte data, int start, int length ) : int
skip ( long foo ) : void
throwStatusError ( Buffer buf, int i ) : void

Method Details

ListEntries() public method

public ListEntries ( String path ) : List
path String
return List

ReadLink() public method

public ReadLink ( String path ) : String
path String
return String

Rename() public method

public Rename ( String oldpath, String newpath ) : void
oldpath String
newpath String
return void

cd() public method

public cd ( String path ) : void
path String
return void

chgrp() public method

public chgrp ( int gid, String path ) : void
gid int
path String
return void

chmod() public method

public chmod ( SftpATTRS permissions, String path ) : void
permissions SftpATTRS
path String
return void

chown() public method

public chown ( int uid, String path ) : void
uid int
path String
return void

disconnect() public method

public disconnect ( ) : void
return void

exit() public method

public exit ( ) : void
return void

get() public method

public get ( String src, SftpProgressMonitor monitor = null, int mode = OVERWRITE ) : InputStream
src String
monitor SftpProgressMonitor
mode int
return InputStream

get() public method

public get ( String src, OutputStream dst ) : void
src String
dst OutputStream
return void

get() public method

public get ( String src, OutputStream dst, SftpProgressMonitor monitor ) : void
src String
dst OutputStream
monitor SftpProgressMonitor
return void

get() public method

public get ( String src, OutputStream dst, SftpProgressMonitor monitor, int mode, long skip ) : void
src String
dst OutputStream
monitor SftpProgressMonitor
mode int
skip long
return void

get() public method

public get ( String src, String dst ) : void
src String
dst String
return void

get() public method

public get ( String src, String dst, SftpProgressMonitor monitor ) : void
src String
dst String
monitor SftpProgressMonitor
return void

get() public method

public get ( String src, String dst, SftpProgressMonitor monitor, int mode ) : void
src String
dst String
monitor SftpProgressMonitor
mode int
return void

getHome() public method

public getHome ( ) : String
return String

init() public method

public init ( ) : void
return void

lcd() public method

public lcd ( String path ) : void
path String
return void

lpwd() public method

public lpwd ( ) : String
return String

lstat() public method

public lstat ( String path ) : SftpATTRS
path String
return SftpATTRS

mkdir() public method

public mkdir ( String path ) : void
path String
return void

put() public method

public put ( InputStream src, String dst ) : void
src InputStream
dst String
return void

put() public method

public put ( InputStream src, String dst, SftpProgressMonitor monitor ) : void
src InputStream
dst String
monitor SftpProgressMonitor
return void

put() public method

public put ( InputStream src, String dst, SftpProgressMonitor monitor, int mode ) : void
src InputStream
dst String
monitor SftpProgressMonitor
mode int
return void

put() public method

public put ( InputStream src, String dst, int mode ) : void
src InputStream
dst String
mode int
return void

put() public method

public put ( String src, String dst ) : void
src String
dst String
return void

put() public method

public put ( String src, String dst, SftpProgressMonitor monitor ) : void
src String
dst String
monitor SftpProgressMonitor
return void

put() public method

public put ( String src, String dst, SftpProgressMonitor monitor, int mode ) : void
src String
dst String
monitor SftpProgressMonitor
mode int
return void

put() public method

public put ( String src, String dst, int mode ) : void
src String
dst String
mode int
return void

pwd() public method

public pwd ( ) : String
return String

quit() public method

public quit ( ) : void
return void

rm() public method

public rm ( String path ) : void
path String
return void

rmdir() public method

public rmdir ( String path ) : void
path String
return void

setMtime() public method

public setMtime ( String path, int mtime ) : void
path String
mtime int
return void

setStat() public method

public setStat ( String path, SftpATTRS attr ) : void
path String
attr SftpATTRS
return void

start() public method

public start ( ) : void
return void

stat() public method

public stat ( String path ) : SftpATTRS
path String
return SftpATTRS

symlink() public method

public symlink ( String oldpath, String newpath ) : void
oldpath String
newpath String
return void

version() public method

public version ( ) : String
return String

Property Details

SSH_FX_BAD_MESSAGE public_oe static_oe property

public static int SSH_FX_BAD_MESSAGE
return int

SSH_FX_CONNECTION_LOST public_oe static_oe property

public static int SSH_FX_CONNECTION_LOST
return int

SSH_FX_EOF public_oe static_oe property

public static int SSH_FX_EOF
return int

SSH_FX_FAILURE public_oe static_oe property

public static int SSH_FX_FAILURE
return int

SSH_FX_NO_CONNECTION public_oe static_oe property

public static int SSH_FX_NO_CONNECTION
return int

SSH_FX_NO_SUCH_FILE public_oe static_oe property

public static int SSH_FX_NO_SUCH_FILE
return int

SSH_FX_OK public_oe static_oe property

public static int SSH_FX_OK
return int

SSH_FX_OP_UNSUPPORTED public_oe static_oe property

public static int SSH_FX_OP_UNSUPPORTED
return int

SSH_FX_PERMISSION_DENIED public_oe static_oe property

public static int SSH_FX_PERMISSION_DENIED
return int