Rebex FTP for .NET

Ftp.BeginAppendFile Method (String, String, Int64, Int64, AsyncCallback, Object)

Appends the content of the local file to the file on the server.

public IAsyncResult BeginAppendFile(
   string localPath,
   string remotePath,
   long localOffset,
   long length,
   AsyncCallback callback,
   object state
);

Parameters

localPath
The path of the local file.
remotePath
The path of the remote file. This cannot be a directory.
localOffset
The starting offset in the local file.
length
Number of bytes to transfer or -1 to transfer the whole stream.
callback
An optional asynchronous callback to be called when the operation is complete.
state
A user-provided object that identifies this particular asynchronous operation.

Return Value

An IAsyncResult that references the asynchronous operation.

Remarks

Represents FTP APPE command.

See Also

Ftp Class | Rebex.Net Namespace | Ftp.BeginAppendFile Overload List