Click or drag to resize

FtpUploadAsync Method

Uploads the content of the data stream to the file on the server 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 Task<FtpResponse> UploadAsync(
	string remotePath,
	long remoteStartPosition,
	Stream source
)

Parameters

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

Return Value

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