This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Ftp.
Summary
Uploads file to specified location using the supplied credentials.
- Assembly
- Cake
.Ftp .dll - Namespace
- Cake
.Ftp - Containing Type
- FtpClient
Syntax
public void UploadFile(Uri serverUri, FilePath fileToUpload, FtpSettings settings)
Parameters
Name | Type | Description |
---|---|---|
serverUri | Uri | FTP Service URI. |
fileToUpload | FilePath | The file to upload. |
settings | FtpSettings | The settings. |
Return Value
Type | Description |
---|---|
void |