An NDoc Documented Class Library |

# FTPConnection.OnUploaded Method (Byte[], String, Int64, Boolean, Exception, Int64, DateTime)

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

protected virtual void OnUploaded(
byte[] bytes,
string remoteFile,
long bytesTransferred,
bool append,
Exception ex,
long currentFileSize,
DateTime currentModTime
);

#### Parameters

bytes
  Byte-array to upload.
remoteFile
  Path of remote file.
bytesTransferred
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