Rebex FTP/SSL for .NET

Ftp.BeginPutFile Method (String, String, AsyncCallback, Object)

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

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

Parameters

localPath
The path of the local file.
remotePath
The path of the remote file. This cannot be a directory.
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 STOR command.

See Also

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