| ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > ZennoPoster Class : FtpUploadDirectory Method |
Type: System.String
The address of the FTP server.Type: System.Int32
The port of the FTP server.
Type: System.String
The FTP protocol. It can be "FTP", "sFTP", or "FTPs".
Type: System.String
The login of the FTP server.
Type: System.String
The password of the FTP server.
Type: System.String
The proxy string in format: login:pass@ip:port OR ip:port.
Type: System.String
The destination path.
Type: System.String
The path to the file.
Type: System.Boolean
The true for uploading all subdirectories, and files in localPath; otherwise, false.
Type: System.Boolean
The true for include root directory name; otherwise, false.
Type: System.String
The address of the FTP server.Type: System.Int32
The port of the FTP server.
Type: System.String
The FTP protocol. It can be "FTP", "sFTP", or "FTPs".
Type: System.String
The login of the FTP server.
Type: System.String
The password of the FTP server.
Type: System.String
The proxy string in format: login:pass@ip:port OR ip:port.
Type: System.String
The destination path.
Type: System.String
The path to the file.
Type: System.Boolean
The true for uploading all subdirectories, and files in localPath; otherwise, false.
Type: System.Boolean
The true for include root directory name; otherwise, false.
// upload all items from local directory to the directory with same name on ftp server ZennoPoster.FtpUploadDirectory("host_name", {port}, "protocol", "login", "password", "proxy", "ftp_path", "local_path", true, true); // upload all items from local directory to the with path "ftp_path" ZennoPoster.FtpUploadDirectory("host_name", {port}, "protocol", "login", "password", "proxy", "ftp_path", "local_path", true, false);
// upload all items from local directory to the directory with same name on ftp server ZennoLab\CommandCenter\ZennoPoster::FtpUploadDirectory("host_name", {port}, "protocol", "login", "password", "proxy", "ftp_path", "local_path", true, true); // upload all items from local directory to the with path "ftp_path" ZennoLab\CommandCenter\ZennoPoster::FtpUploadDirectory("host_name", {port}, "protocol", "login", "password", "proxy", "ftp_path", "local_path", true, false);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.