ExFTPConnectionUploadStream(Stream, String, Boolean) Method
Upload a stream of data to the FTP server in the current working directory. Allows appending
if current file exists.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
public override void UploadStream(
Stream srcStream,
string remoteFile,
bool append
)
Public Overrides Sub UploadStream (
srcStream As Stream,
remoteFile As String,
append As Boolean
)
public:
virtual void UploadStream(
Stream^ srcStream,
String^ remoteFile,
bool append
) override
abstract UploadStream :
srcStream : Stream *
remoteFile : string *
append : bool -> unit
override UploadStream :
srcStream : Stream *
remoteFile : string *
append : bool -> unit
Parameters
- srcStream Stream
- Input stream of data to put.
- remoteFile String
- Name of remote file in current working directory.
- append Boolean
- true if appending, false otherwise.
The stream is closed after the transfer is complete if
CloseStreamsAfterTransfer is
true (the default) and are left
open otherwise.