| 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
)
Public Function UploadAsync (
remotePath As String,
remoteStartPosition As Long,
source As Stream
) As Task(Of FtpResponse)
public:
Task<FtpResponse^>^ UploadAsync(
String^ remotePath,
long long remoteStartPosition,
Stream^ source
)
member UploadAsync :
remotePath : string *
remoteStartPosition : int64 *
source : Stream -> Task<FtpResponse>
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:
TaskFtpResponseServer response send after the transfer completed.
See Also