TwclObexFtpClient.MkDir(string) Method

Creates new directory.

Namespace: wclObex
public
 function MkDir(const Name: string): Integer;

Parameters

Name
Type: string

The directory name.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

When operation completed the OnMakeDirComplete event fires.

If the operation completed with success the current directory is changed to the just created directory.