Click or drag to resize

FtpUpload Method (String, Int64, Byte)

Uploads the content of the byte array to the file on the server starting from the specified remote position. You can check the value of SupportsRestStream of Extensions property to check if this method is supported by the remote server.

Namespace:  Limilabs.FTP.Client
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public FtpResponse Upload(
	string remotePath,
	long remoteStartPosition,
	byte[] data
)

Parameters

remotePath
Type: SystemString
The path of the remote file.
remoteStartPosition
Type: SystemInt64
The starting offset of the remote file.
data
Type: SystemByte
The source data.

Return Value

Type: FtpResponse
Server response send after the transfer completed.
See Also