Called when a stream is about to be uploaded.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
protected bool OnUploading( Stream srcStream, ref string remoteFile, ref bool append, out long localFileSize ) |
Visual Basic |
---|
Protected Function OnUploading ( _ srcStream As Stream, _ ByRef remoteFile As String, _ ByRef append As Boolean, _ <OutAttribute> ByRef localFileSize As Long _ ) As Boolean |
Visual C++ |
---|
protected: bool OnUploading( Stream^ srcStream, String^% remoteFile, bool% append, [OutAttribute] long long% localFileSize ) |
Parameters
- srcStream
- Type: System.IO..::..Stream
Stream to upload.
- remoteFile
- Type: System..::..String%
Path of remote file.
- append
- Type: System..::..Boolean%
Flag indicating whether or not the remote file is being appended to.
- localFileSize
- Type: System..::..Int64%