ComponentSpace FTP Class Library Reference

FailSafeTransfer.Upload Method 

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

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

Parameters

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

Exceptions

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

See Also

FailSafeTransfer Class | ComponentSpace.Ftp Namespace