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.FtpFolderUpload.
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