An NDoc Documented Class Library |

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

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 currentFileSize,
DateTime currentModTime
);

#### 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)
currentFileSize
currentModTime

#### See Also

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