FTP - Delete folder if it empty - VisualCron - Forum

Community forum

oystein
2015-07-03T11:52:17Z
I would like a feature to delete empty folders on an FTP server.

We have a setup with a customer that uploades case files to our FTP-server. One case consist of many files and to keep things organized, a folder is created for each case. With the current version we can download the files just fine, and VisualCron can delete the files as they are downloaded. All will and nice, but it does not remove the folders the files were in.

So now we have an FTP-site full of empty case folders and no easy way of clearing it out.

We cannot delete all folders as the customer could be uploading stuff while we're downloading. Appending a "... and delete containing folder" under the "Delete source file" option for FTP downloads would be nice.
Scroll to Top