 | FTPGetFile Method (FTPHeader, 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(
FTPHeader ftpHeader,
string serverPath,
string serverFile,
string localDestPath,
bool deleteAfterRetrieve = false
)
Public Shared Function GetFile (
ftpHeader As FTPHeader,
serverPath As String,
serverFile As String,
localDestPath As String,
Optional deleteAfterRetrieve As Boolean = false
) As FWRetVal
public:
static FWRetVal^ GetFile(
FTPHeader^ ftpHeader,
String^ serverPath,
String^ serverFile,
String^ localDestPath,
bool deleteAfterRetrieve = false
)
static member GetFile :
ftpHeader : FTPHeader *
serverPath : string *
serverFile : string *
localDestPath : string *
?deleteAfterRetrieve : bool
(* Defaults:
let _deleteAfterRetrieve = defaultArg deleteAfterRetrieve false
*)
-> FWRetVal
Parameters
- ftpHeader
- Type: Koden.Utils.FTPClientFTPHeader
The FTP header. - 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(Koden.Utils.FTPClient.FTPHeader,System.String,System.String,System.String,System.Boolean)"]
See Also