FtpService.

UploadFile(Uri, IFile, string, string) Method

Summary

Uploads a file.
Assembly
Cake.Ftp.dll
Namespace
Cake.Ftp.Services
Containing Type
FtpService

Syntax

public void UploadFile(Uri serverUri, IFile uploadFile, string username, string password)

Parameters

Name Type Description
serverUri Uri The URI for the FTP server.
uploadFile IFile The file to upload.
username string The FTP username.
password string The FTP password.

Return Value

Type Description
void