Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.Download Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

Download(String, String)

Downloads the specified file or directory hierarchy from the FTP server to the local directory. Accepts wildcards.

Declaration
public void Download(string remotePath, string localDirectoryPath)
Parameters
Type Name Description
String remotePath

The path (with or without wildcards) of the remote file or directory.

String localDirectoryPath

The path of the local directory. This must be a directory.

Implements
IFtp.Download(String, String)

Download(String, String, TraversalMode)

Downloads the specified file or directory hierarchy from the FTP 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 (with or without wildcards) 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
IFtp.Download(String, String, TraversalMode)

Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)

Downloads the specified file or directory hierarchy from the FTP 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 (with or without wildcards) 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 local directory.

Implements
IFtp.Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)

Download(FileSet, String)

Downloads the specified files and/or directories from the FTP 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
IFtp.Download(FileSet, String)

Download(FileSet, String, TransferMethod, ActionOnExistingFiles)

Downloads the specified files and/or directories from the FTP 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 local directory.

Implements
IFtp.Download(FileSet, String, TransferMethod, ActionOnExistingFiles)
In This Article
  • Download(String, String)
  • Download(String, String, TraversalMode)
  • Download(String, String, TraversalMode, TransferMethod, ActionOnExistingFiles)
  • Download(FileSet, String)
  • Download(FileSet, String, TransferMethod, ActionOnExistingFiles)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies