FtpClient.

UploadFile(Uri, FilePath, FtpSettings) Method

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