UtilFtpUpload Method
Uploads a file to an FTP server.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void Upload(
string filePath,
string ftpPath,
string user = "",
string pass = ""
)
Public Shared Sub Upload (
filePath As String,
ftpPath As String,
Optional user As String = "",
Optional pass As String = ""
)
Dim filePath As String
Dim ftpPath As String
Dim user As String
Dim pass As String
UtilFtp.Upload(filePath, ftpPath, user,
pass)
public:
static void Upload(
String^ filePath,
String^ ftpPath,
String^ user = L"",
String^ pass = L""
)
static member Upload :
filePath : string *
ftpPath : string *
?user : string *
?pass : string
(* Defaults:
let _user = defaultArg user ""
let _pass = defaultArg pass ""
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- filePath String
-
The source filepath.
- ftpPath String
-
The directory path of the FTP server.
- user String (Optional)
-
The username, if any.
This value can be an empty string.
- pass String (Optional)
-
The password.
This value can be an empty string.
This is a code example.
No code example is currently available or this language may not be supported.
Upload("C:\File.txt", "ftp://127.0.0.1/Folder/", "User", "Pass")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.