 | FTPGetFile Method (String, String, String, String, String, String, Boolean) |
Gets a file from the remote FTP server.
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 deleteAfterRetrieve = false
)
Public Shared Function GetFile (
strHost As String,
strUserName As String,
strPassword As String,
serverPath As String,
serverFile As String,
localDestPath As String,
Optional deleteAfterRetrieve As Boolean = false
) As FWRetVal
public:
static FWRetVal^ GetFile(
String^ strHost,
String^ strUserName,
String^ strPassword,
String^ serverPath,
String^ serverFile,
String^ localDestPath,
bool deleteAfterRetrieve = false
)
static member GetFile :
strHost : string *
strUserName : string *
strPassword : string *
serverPath : string *
serverFile : string *
localDestPath : string *
?deleteAfterRetrieve : bool
(* Defaults:
let _deleteAfterRetrieve = defaultArg deleteAfterRetrieve false
*)
-> FWRetVal
Parameters
- strHost
- Type: SystemString
The host. - strUserName
- Type: SystemString
Name of theuser. - strPassword
- Type: SystemString
The password. - serverPath
- Type: SystemString
The server path. - serverFile
- Type: SystemString
The server file. - localDestPath
- Type: SystemString
The local dest path. - deleteAfterRetrieve (Optional)
- Type: SystemBoolean
The delete after retrieve.
Return Value
Type:
FWRetVal[Missing <returns> documentation for "M:Koden.Utils.FTPClient.FTP.GetFile(System.String,System.String,System.String,System.String,System.String,System.String,System.Boolean)"]
See Also