IFtpService.

UploadFile(Uri, IFile, string, string) Method

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