C# 클래스 BuildServerUploaderConsole.Sftp.SftpManager

파일 보기 프로젝트 열기: vchelaru/FlatRedBall

공개 메소드들

메소드 설명
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 ) : SftpClient
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, SftpClient sftp ) : void

비공개 메소드들

메소드 설명
CreateDirectoriesRecursively ( string directory, SftpClient sftp ) : void
Sftp_ErrorOccurred ( object sender, Renci e ) : void

메소드 상세

DeleteRemoteDirectory() 공개 정적인 메소드

public static DeleteRemoteDirectory ( string host, string directory, string username, string password ) : void
host string
directory string
username string
password string
리턴 void

DeleteRemoteFile() 공개 정적인 메소드

public static DeleteRemoteFile ( string host, string file, string username, string password ) : void
host string
file string
username string
password string
리턴 void

GetClient() 공개 정적인 메소드

public static GetClient ( string host, string userName, string password ) : SftpClient
host string
userName string
password string
리턴 Renci.SshNet.SftpClient

GetList() 공개 정적인 메소드

public static GetList ( string host, string folder, string userName, string password ) : IEnumerable
host string
folder string
userName string
password string
리턴 IEnumerable

UploadFile() 공개 정적인 메소드

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

UploadFileWithOpenConnection() 공개 정적인 메소드

public static UploadFileWithOpenConnection ( string localFileToUpload, string targetFile, SftpClient sftp ) : void
localFileToUpload string
targetFile string
sftp Renci.SshNet.SftpClient
리턴 void