Delete Folder
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/M0eJCtGf-p_t3dROXxrqv_image.png?format=webp)
Delete Folder, enables you to delete a folder within the specified location. All files & folders under the folder being deleted will also be removed.
FTP connectionο»Ώο»Ώ
For our example we used Rebex.
Step 1:Β Go to the Credentials Manager section and click Add New.
Step 2:Β Give your credential a Name* and Description (optional) and click Next step.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/dgFaPs73JJzkVlV4Rrcy1_image.png?format=webp)
Step 3:Β Configure the FTP / sFTP connection as needed:
- Port number* - the port number used by the server.
- Protocol type - the protocol used depending on the encryption.
- Directory path - the entry point of the server.
- Authentication method - here you have the option to use a basic username and password authentication or a user key authentication.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/0vb5-R6DkOrnXaj13SU55_image.png?format=webp)
Step 4:Β Click Test connection and if successful click Save.
Create the processο»Ώο»Ώ
Step 1:Β From the Process Designer section select Create new.
Step 2:Β Give you process a name.
Step 3:Β Drag the action Delete Folder on the canvas and link the action inside you process.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/bgEZ9CdLl_XG_E0WPIzWj_image.png?format=webp)
Step 4: Create the <%result%> Boolean variable of type output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/FsZRoX6ESKI8oMnLlBncL_image.png?format=webp)
Step 5:Β Click the Delete Folder action to access its configurations.
- Node name* - gives you the option to change the actions name.
- Choose server type* - here we will select the connection created in the previous section.
- Source folder - allows you to select the path to the folder you wish to create.
- Folder name - the name of the new folder that will be deleted.
- Result* - here we will add the variable created at Step 4.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/wLmc0_BcQwWo-hdUCCWHP_image.png?format=webp)
Step 6:Β Save, Validate and Run the process.
Step 7:Β Click Check Instance.
![Doc contributor](https://s3.amazonaws.com/archbee-animals/koala.png)