Xceed FTP Library Documentation
CreateFolder method
XceedFtp control reference > Methods > CreateFolder method

Description

Creates a folder on the remote server.

If the sNewFolder parameter specifies a folder name without a path, the new folder will be created in the FTP server's current working folder . If a path is specified, it can be relative to the current folder, or absolute to the remote system.

This method can only be used when the CurrentState property's value is fcsConnected.

Parameters
 

Parameter Description
sNewFolder  The name (or path + name) of the folder to create.

 

Declaration  
HRESULT CreateFolder( [in] BSTR sNewFolder )

Applicable properties

None

Events triggered

LoggingCommandLine, ProcessCompleted