Downloads a file from the FTP server relative to the local directory.
Namespace: Jscape.FtpAssembly: 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
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |