An NDoc Documented Class Library |

# FTPConnection.OnUploading Method (Stream, String, Boolean, Int64)

Called when a stream is about to be uploaded.

protected bool OnUploading(
Stream srcStream,
ref string remoteFile,
ref bool append,
out long localFileSize
);

#### Parameters

srcStream
  Stream to upload.
remoteFile
  Path of remote file.
append
  Flag indicating whether or not the remote file is being appended to.
localFileSize

#### Return Value

`true` if the operation is to continue.

#### See Also

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