IFtp.Download Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
Download(String, String)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
void Download(string remotePath, string localDirectoryPath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
String | localDirectoryPath | The path of the local directory. This must be a directory. |
Download(String, String, TraversalMode)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
void Download(string remotePath, string localDirectoryPath, TraversalMode traversalMode)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
String | localDirectoryPath | The path of the local directory. This must be a directory. |
Traversal |
traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are transferred. |
Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
void Download(string remotePath, string localDirectoryPath, TraversalMode traversalMode, TransferMethod transferMethod, ActionOnExistingFiles existingFileMode)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
String | localDirectoryPath | The path of the local directory. This must be a directory. |
Traversal |
traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are transferred. |
Transfer |
transferMethod | Specifies whether to copy or move source items. |
Action |
existingFileMode | Specifies the default behavior for files that already exists at the server. |
Download(FileSet, String)
Downloads the specified files and/or directories from the server to the local directory.
Declaration
void Download(FileSet set, string localDirectoryPath)
Parameters
Type | Name | Description |
---|---|---|
File |
set | A filtering set which specifies remote files and directories to be downloaded. |
String | localDirectoryPath | The path of the local directory. This must be a directory. |
Download(FileSet, String, TransferMethod, ActionOnExistingFiles)
Downloads the specified files and/or directories from the server to the local directory.
Declaration
void Download(FileSet set, string localDirectoryPath, TransferMethod transferMethod, ActionOnExistingFiles existingFileMode)
Parameters
Type | Name | Description |
---|---|---|
File |
set | A filtering set which specifies remote files and directories to be downloaded. |
String | localDirectoryPath | The path of the local directory. This must be a directory. |
Transfer |
transferMethod | Specifies whether to copy or move source items. |
Action |
existingFileMode | Specifies the default behavior for files that already exists at the server. |