Rebex FTP for .NET

Ftp.BeginPutUniqueFile Method (String, AsyncCallback, Object)

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

public IAsyncResult BeginPutUniqueFile(
   string localPath,
   AsyncCallback callback,
   object state
);

Parameters

localPath
The path of the local file.
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