Downloads a file from the FTP server relative to the local directory.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public virtual FileInfo Download(
	string remoteFile
)
Visual Basic
Public Overridable Function Download ( _
	remoteFile As String _
) As FileInfo
Visual C++
public:
virtual FileInfo^ Download(
	String^ remoteFile
)

Parameters

remoteFile
Type: System..::..String
The remote file to download.

Return Value

The remote file contents.

Exceptions

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

See Also