Downloads the specified files in the current remote directory
from the FTP server to the local directory.
Namespace: Jscape.FtpAssembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0
Syntax
C# |
---|
public virtual void MDownload( IEnumerator fileNames ) |
Visual Basic |
---|
Public Overridable Sub MDownload ( _ fileNames As IEnumerator _ ) |
Visual C++ |
---|
public: virtual void MDownload( IEnumerator^ fileNames ) |
Parameters
- fileNames
- Type: System.Collections..::..IEnumerator
An enumeration of files to download.
Remarks
Do not use this method to download a directory,
see DownloadDir(String) method.
Downloads are stored relative to the current local directory.
Downloads are stored relative to the current local directory.
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |