Xceed FTP Library Documentation
XceedFtp control reference / Methods / CreateFolder method
In This Topic
    CreateFolder method
    In This Topic

    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