ComponentSpace FTP Class Library Reference

FailSafeTransfer.Download Method 

Download the remote file's contents to the local file.

[Visual Basic]
Public Sub Download( _
   ByVal sourcePathName As String, _
   ByVal destinationPathName As String _
)
[C#]
public void Download(
   string sourcePathName,
   string destinationPathName
);

Parameters

sourcePathName
The remote file path name.
destinationPathName
The local file path name.

Exceptions

Exception Type Condition
FtpException Thrown when either the download is aborted or the retry limit has been reached.

See Also

FailSafeTransfer Class | ComponentSpace.Ftp Namespace