Click or drag to resize

SFTPGetFile Method (String, String, String, String, String, String, Boolean)

Download a file from the host to a local folder and filename

Namespace:  Koden.Utils.FTPClient
Assembly:  Koden.Utils.FTPClient (in Koden.Utils.FTPClient.dll) Version: 1.1.6453.26060
Syntax
public static FWRetVal GetFile(
	string strHost,
	string strUserName,
	string strPassword,
	string serverPath,
	string serverFile,
	string localDestPath,
	bool deleteAfterRetrieval = false
)

Parameters

strHost
Type: SystemString
The host.
strUserName
Type: SystemString
Name of the user.
strPassword
Type: SystemString
The password.
serverPath
Type: SystemString
The server path.
serverFile
Type: SystemString
The file on the server.
localDestPath
Type: SystemString
The local destination path (do not include filename).
deleteAfterRetrieval (Optional)
Type: SystemBoolean
delete after retrieval?

Return Value

Type: FWRetVal

[Missing <returns> documentation for "M:Koden.Utils.FTPClient.SFTP.GetFile(System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean)"]

See Also