An NDoc Documented Class Library |

# FTPConnection.OnUploaded Method (Stream, Int64, String, Boolean, Exception, Int64)

Called when a file uploading operation has completed (though it may have been cancelled).

protected virtual void OnUploaded(
Stream srcStream,
long bytesTransferred,
string remoteFile,
bool append,
Exception ex,
long localFileSize
);

#### Parameters

srcStream
  Stream to upload.
bytesTransferred
remoteFile
  Path of remote file.
append
  Flag indicating whether or not the remote file was being appended to.
ex
  Exception thrown (if failed)
localFileSize

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace | FTPConnection.OnUploaded Overload List