Ends an asynchronous BeginCreateDirectory operation.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function EndCreateDirectory ( _
	asyncResult As IAsyncResult _
) As String
C#
public string EndCreateDirectory(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user defined data.

Return Value

A string containing the absolute path of the newly created remote directory if the server complies to RFC 959; otherwise, null reference is returned.

Remarks

In builds for .NET 4.0 and higher, this method is available as an extension method. Add 'using Rebex.Legacy' (C#) or 'Import Rebex.Legacy' (VB.NET) to your code in order to use it.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also