FtpFolderUploadAliases.

FtpUploadFolder(ICakeContext, DirectoryPath, string, string, string, Func<IFile, bool>, Func<IFile, object>) Method

Syntax

public static void FtpUploadFolder(this ICakeContext context, DirectoryPath folder, string ftpServer, string userName, string password, Func<IFile, bool> filterPredicate = null, Func<IFile, object> sortPredicate = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context
folder DirectoryPath The folder to upload
ftpServer string The ftp server path
userName string The user name to connect to the ftp server
password string The password for connecting to the ftp server
filterPredicate Func<IFile, bool> A filter to limit the files to upload. If null all files are uploaded
sortPredicate Func<IFile, object> The sort predicate. Use this to affect order of which files are accessed

Return Value

Type Description
void