An NDoc Documented Class Library |

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

Called when a byte-array is about to be uploaded.

protected bool OnUploading(
byte[] bytes,
ref string remoteFile,
ref bool append,
out long currentFileSize,
out DateTime currentModTime
);

#### Parameters

bytes
  Byte-array to upload.
remoteFile
  Path of remote file.
append
  Flag indicating whether or not the remote file is being appended to.
currentFileSize
currentModTime

#### Return Value

`true` if the operation is to continue.

#### See Also

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