An NDoc Documented Class Library |

# FTPConnection.OnCreatedDirectory Method

Called when a directory has been created.

protected virtual void OnCreatedDirectory(
string dir,
bool cancelled,
Exception ex
);

#### Parameters

dir
  Directory name
cancelled
  `true` if the operation was cancelled (and the file was not deleted).
ex
  Exception thrown (if failed)

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace