Downloads the specified files in the current remote directory from the FTP server to the local directory.

Namespace: Jscape.Ftp
Assembly: 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.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also