Rebex FTP for .NET

Ftp.BeginPutUniqueFile Method (Stream, AsyncCallback, Object)

Uploads the content of the data stream to the file with unique pathname on the server.

public IAsyncResult BeginPutUniqueFile(
   Stream sourceStream,
   AsyncCallback callback,
   object state
);

Parameters

sourceStream
The source data 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 the FTP STOU command.

Use with caution - many servers do not support this and many servers support this incorrectly (MS FTP).

See Also

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