Rebex FTP for .NET

Ftp.BeginReinitialize Method 

Terminates the user and flushes all state information on the server. The connection is left open.

public IAsyncResult BeginReinitialize(
   AsyncCallback callback,
   object state
);

Parameters

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 REIN command.

The connection is reset to the state in which it is immediately after it was opened.

The REIN command is unsupported by many FTP servers and not supported correctly by most FTP proxies. Its usage is not recommended. Use BeginDisconnect/BeginConnect instead.

See Also

Ftp Class | Rebex.Net Namespace