🧡 Skip to main content🔍 Skip to search
Ensure Remote Directory

Automation Workshop includes the Ensure Remote Directory Action, which can verify the existence of a directory on a remote server and create it if necessary. Additionally, it can check if a directory is absent on a remote server and remove it if it is present.

The directories can be managed on FTP, SFTP, FTPS, and WebDAV servers, as well as on cloud storages, such as Amazon S3, DigitalOcean, and Google Cloud Platform.

The Ensure Remote Directory Action is usually combined with other FTP & Cloud Actions, for instance, the Upload File, Download File, and Synchronize Directories Actions. If a multi-level directory name is provided, the missing intermediate directories are automatically created.

Features & highlights

  • This Action makes sure that a directory on a remote server exists, is empty, or is absent.
  • Ensure Remote Directory can utilize variables to include the current date/time or variables from other Actions into the directory name or path.
  • It can create intermediate directories if ones don't exist.
  • Supports a lot of file transfer protocols, such as FTP, SFTP, WebDAV, Amazon S3, Google Cloud Storage, and DigitalOcean Spaces.

Usage examples

  • Ensure that a directory exists before uploading or syncing files to a remote server or cloud.
  • Ensure a daily archive path exists using the built-in Task Scheduler Trigger (e.g., sortable /path/year/month/day/ naming convention).
  • Ensure that a temporary directory is clear before proceeding with the execution of a workflow.
  • Ensure a directory with a dynamic name on a remote server as part of an automated workflow using a no-code approach.


  • Directory · Provide a directory name and its desired state.
  • Options · Set the Action state and custom display name, define automated error workarounds, and enable an option to log only critical errors.



Automation Workshop includes many more awesome Triggers and numerous Actions to aid you to automate any repetitive computer or business task by providing state-of-the-art GUI tools.

Automated Trigger · SFTP Watcher
SFTP Watcher
Automate Action · Find & replace text
Find & replace text

Help at your fingertips…

If you have any questions, please do not hesitate to contact our support team.