FileTransferClient.Download Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9119)
Download(String, String)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
public 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. |
Implements
Download(String, String, TraversalMode)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
public 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. |
TraversalMode | traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are transferred. |
Implements
Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)
Downloads the specified file or directory hierarchy from the server to the local directory. Accepts wildcards.
Declaration
public 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. |
TraversalMode | traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are transferred. |
TransferMethod | transferMethod | Specifies whether to copy or move source items. |
ActionOnExistingFiles | existingFileMode | Specifies the default behavior for files that already exists at the server. |
Implements
Download(FileSet, String)
Downloads the specified files and/or directories from the server to the local directory.
Declaration
public void Download(FileSet set, string localDirectoryPath)
Parameters
Type | Name | Description |
---|---|---|
FileSet | 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. |
Implements
Download(FileSet, String, TransferMethod, ActionOnExistingFiles)
Downloads the specified files and/or directories from the server to the local directory.
Declaration
public void Download(FileSet set, string localDirectoryPath, TransferMethod transferMethod, ActionOnExistingFiles existingFileMode)
Parameters
Type | Name | Description |
---|---|---|
FileSet | 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. |
TransferMethod | transferMethod | Specifies whether to copy or move source items. |
ActionOnExistingFiles | existingFileMode | Specifies the default behavior for files that already exists at the server. |