Rebex FTP for .NET

Ftp.AppendFile Method (Stream, String, Int64)

Appends the content of the data stream to the file on the server.

public long AppendFile(
   Stream sourceStream,
   string remotePath,
   long length
);

Parameters

sourceStream
The source data stream.
remotePath
The path of the remote file. This cannot be a directory.
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