PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Delete Folder

Deletes a folder, and everything in it, from an SFTP or FTP server.

Delete Folder removes a folder from your SFTP or FTP server, together with all the files and subfolders inside it.

Before you start

The action connects through an FTP credential that you create once in the Credential Manager (host, port, protocol FTP or SFTP, an optional Directory path, and a user name with a password or a key file). See FTP Credential.

Add the action

In the Process Designer toolbox, open SFTP and pick Delete Folder (or type Delete Folder in the search box).

The Delete Folder action properties: Select SFTP credentials, Source Folder, Folder Name and Result

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Select SFTP credentialsInputFTP credentialYesThe credential of the server.
Source FolderInputTextNoThe folder that contains the folder to delete, relative to the credential's Directory path. Leave empty for the root folder.
Folder NameInputTextYesThe name of the folder to delete.
ResultOutputBooleanYestrue if the folder was removed, false if not.

Example

Source Folder archive, Folder Name 2024 โ†’ archive/2024 and everything inside it are removed, and Result is true.

Everything under the folder is deleted, and this can't be undone. Check the values, especially when they come from variables.

Good to know

  • Names are case-sensitive on most SFTP servers.
  • If the server returns an error, the step fails with "Error while trying to delete folder".

On this page