Rebex FTP/SSL for .NET

Ftp.AppendFile Method (String, String, Int64, Int64)

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

public long AppendFile(
   string localPath,
   string remotePath,
   long localOffset,
   long length
);

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.

Return Value

Number of bytes transfered.

Remarks

Represents FTP APPE command.

See Also

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