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

Automation Workshop includes the Clear Remote Directory Action, which automatically removes files from a directory on a remote server. This action supports clearing directories using industry-standard protocols such as FTP, SFTP, and FTPS, as well as cloud storage services like Amazon S3, DigitalOcean Spaces, and Google Cloud Platform Storage.

The Clear Remote Directory Action can be configured to remove files only from the root of a specified directory, leaving subfolders and their contents untouched.

Features & highlights

  • Remove unused files from directories to reduce clutter and improve system performance and file access times.
  • Clear directories to meet industry compliance requirements or manage cloud storage costs.
  • Automatically comply with legislation and data privacy policies by regularly clearing sensitive data from your remote servers.

Usage examples

  • Improve system performance and free up storage space by regularly clearing temporary or log folders on remote servers.
  • Clear outdated backup folders using paths constructed with the Variable Wizard's date feature, such as a /path/year-previous-month-day/ logic.
  • Use the Clear Remote Directory Action as an initial step in automated workflows to ensure system consistency before manipulating files and data.

Documentation

  • Directory · Empty a directory on a remote server.
  • Options · Choose to clear a directory entirely or remove only files while preserving the directory structure.

Interconnect

  • Clear Remote Directory integration—Variables (manipulate data dynamically within a workflow) and Events (recorded entries that detail the activity within the system).
  • Effortlessly streamline your automation processes by visually connecting your workflow using Variable Wizard—a powerful tool to access all 1,000+ variables—system, network, Triggers, Actions, globals, web, and much more…
  • Moreover, not only utilize Clear Remote Directory variables, but also seamlessly integrate them with a diverse array of other file and folder variables from local disks, mapped drives, network shares, and remote servers—FTP, SFTP, WebDAV, Amazon S3, and more…

Quick access

To streamline your workflow creation, you can locate the Clear Remote Directory Action throughout the entire Automation suite's search tools—including the knowledge base, menu, and Add Action feature—using the quick ยซCRDยป shortcut.

Local cleanup? Easy!

To erase the contents of a folder on your local machine or network share, use the Clear Folder Action.

For complete multi-server remote management (workflows, logs, etc.), use the remote tools and flexible deployment features.

Discover

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 · FTP Watcher
FTP Watcher
Automate Action · Run CMD command
Run CMD command

Seamless automation. Take a quick 90-second journey!

Have a question?

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