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 a file.
- Assembly
- Cake
.Ftp .dll - Namespace
- Cake
.Ftp .Services - Containing Type
- IFtpService
Syntax
void UploadFile(Uri serverUri, IFile fileToUpload, string username, string password)
Parameters
Name | Type | Description |
---|---|---|
serverUri | Uri | The URI for the FTP server. |
fileToUpload | IFile | The file to upload. |
username | string | The FTP username. |
password | string | The FTP password. |
Return Value
Type | Description |
---|---|
void |