 | FTPPutFile Method (String, String, String, String, String, Boolean) |
Uploads a file to 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 PutFile(
string strHost,
string strUserName,
string strPassword,
string localFile,
string serverDest,
bool overwrite = false
)
Public Shared Function PutFile (
strHost As String,
strUserName As String,
strPassword As String,
localFile As String,
serverDest As String,
Optional overwrite As Boolean = false
) As FWRetVal
public:
static FWRetVal^ PutFile(
String^ strHost,
String^ strUserName,
String^ strPassword,
String^ localFile,
String^ serverDest,
bool overwrite = false
)
static member PutFile :
strHost : string *
strUserName : string *
strPassword : string *
localFile : string *
serverDest : string *
?overwrite : bool
(* Defaults:
let _overwrite = defaultArg overwrite false
*)
-> FWRetVal
Parameters
- strHost
- Type: SystemString
The host. - strUserName
- Type: SystemString
UserName to use - strPassword
- Type: SystemString
Password to use. - localFile
- Type: SystemString
The local file (Path and filename). - serverDest
- Type: SystemString
The server file (Path and filename). - overwrite (Optional)
- Type: SystemBoolean
overwrite?
Return Value
Type:
FWRetVal[Missing <returns> documentation for "M:Koden.Utils.FTPClient.FTP.PutFile(System.String,System.String,System.String,System.String,System.String,System.Boolean)"]
See Also