edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Upload data to the FTP server in the current working directory. Allows appending if current file exists.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public override void UploadByteArray(
	byte[] bytes,
	string remoteFile,
	bool append
)
Visual Basic
Public Overrides Sub UploadByteArray ( _
	bytes As Byte(), _
	remoteFile As String, _
	append As Boolean _
)
Visual C++
public:
virtual void UploadByteArray(
	array<unsigned char>^ bytes, 
	String^ remoteFile, 
	bool append
) override

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
Array of bytes to put.
remoteFile
Type: System..::..String
Name of remote file in current working directory.
append
Type: System..::..Boolean
true if appending, false otherwise.

See Also