Метод | Описание | |
---|---|---|
DeleteRemoteDirectory ( string host, string directory, string username, string password ) : void | ||
DeleteRemoteFile ( string host, string file, string username, string password ) : void | ||
GetClient ( string host, string userName, string password ) : |
||
GetList ( string host, string folder, string userName, string password ) : IEnumerable |
||
UploadFile ( string localFileToUpload, string host, string targetFile, string userName, string password ) : void | ||
UploadFileWithOpenConnection ( string localFileToUpload, string targetFile, |
Метод | Описание | |
---|---|---|
CreateDirectoriesRecursively ( string directory, |
||
Sftp_ErrorOccurred ( object sender, Renci e ) : void |
public static DeleteRemoteDirectory ( string host, string directory, string username, string password ) : void | ||
host | string | |
directory | string | |
username | string | |
password | string | |
Результат | void |
public static DeleteRemoteFile ( string host, string file, string username, string password ) : void | ||
host | string | |
file | string | |
username | string | |
password | string | |
Результат | void |
public static GetClient ( string host, string userName, string password ) : |
||
host | string | |
userName | string | |
password | string | |
Результат |
public static GetList ( string host, string folder, string userName, string password ) : IEnumerable |
||
host | string | |
folder | string | |
userName | string | |
password | string | |
Результат | IEnumerable |
public static UploadFile ( string localFileToUpload, string host, string targetFile, string userName, string password ) : void | ||
localFileToUpload | string | |
host | string | |
targetFile | string | |
userName | string | |
password | string | |
Результат | void |
public static UploadFileWithOpenConnection ( string localFileToUpload, string targetFile, |
||
localFileToUpload | string | |
targetFile | string | |
sftp | ||
Результат | void |