Method Put
Put(string)
Copies the specified file to the SFTP server.
public void Put(string fromFilePath)
Parameters
fromFilePath
stringThe file to copy to the SFTP server.
Exceptions
Put(string[])
Copies the specified files to the SFTP server.
public void Put(string[] fromFilePaths)
Parameters
fromFilePaths
string[]The files to copy.
Exceptions
Put(string[], string)
Copies the specified files to the specified directory on the SFTP server.
public void Put(string[] fromFilePaths, string toDirPath)
Parameters
fromFilePaths
string[]The files to copy.
toDirPath
stringThe directory to which the files should be copied.
Remarks
The directory must already exists.
Exceptions
Put(string, string)
Copies the specified file to the specified directory on the SFTP server.
public override void Put(string fromFilePath, string toFilePath)
Parameters
fromFilePath
stringThe file to copy.
toFilePath
stringThe directory to which the file should be copied.