Tamir.SharpSsh.Sftp.Put C# (CSharp) 메소드

Put() 공개 메소드

public Put ( string fromFilePath ) : void
fromFilePath string
리턴 void
		public void Put(string fromFilePath)
		{
			Put(fromFilePath, ".");
		}

Same methods

Sftp::Put ( string fromFilePaths, string toDirPath ) : void

Usage Example

예제 #1
2
파일: Program.cs 프로젝트: nuevollc/Nuevo
 static void Main(string[] args)
 {
     Sftp sftp = new Sftp("[SERVER]", "[USERNAME]", string.Empty);
     sftp.AddIdentityFile("[Path to Private kEY]");
     sftp.Connect();
     sftp.Put(@"D:\temp\blog\feed.csv", "[PATH OF FILE ON SERVER]");
     sftp.Delete("[PATH OF FILE ON SERVER]");
 }
All Usage Examples Of Tamir.SharpSsh.Sftp::Put