 | 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
Syntaxpublic static FWRetVal GetFile(
string strHost,
string strUserName,
string strPassword,
string serverPath,
string serverFile,
string localDestPath,
bool deleteAfterRetrieval = false
)
Public Shared Function GetFile (
strHost As String,
strUserName As String,
strPassword As String,
serverPath As String,
serverFile As String,
localDestPath As String,
Optional deleteAfterRetrieval As Boolean = false
) As FWRetVal
public:
static FWRetVal^ GetFile(
String^ strHost,
String^ strUserName,
String^ strPassword,
String^ serverPath,
String^ serverFile,
String^ localDestPath,
bool deleteAfterRetrieval = false
)
static member GetFile :
strHost : string *
strUserName : string *
strPassword : string *
serverPath : string *
serverFile : string *
localDestPath : string *
?deleteAfterRetrieval : bool
(* Defaults:
let _deleteAfterRetrieval = defaultArg deleteAfterRetrieval false
*)
-> FWRetVal
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