![]() |
Sort Queue after adding enqueue delete
Hi,
i need to download a few hundred folders from a server, and delete them right after download. I have queue up all the folders for download, and then enqueue them for deleting, but that won't delete any of those before all have been downloaded. There is no way i can queue every folder for download and deleting manually, i would sit there for hours doing so. Is there any way to sort the queue with deleting task and download tasks by folder name? Or any way to queue folders so the deletion gets queued right after the download? If it was just once, that wouldn't bother me, but its a reoccurring task i have to do :( * FlashFXP v5.4, build 3939, registered I don't think OS, Connection or FTP Server matter in this case. |
Depending on the layout of the folders/files you may be able to do something like this using custom commands.
However be warned that deleting the files immediately after download is somewhat risky since any error in transfer and you will not be able to retry the file later. From the main menu > Commands > Edit Commands. Then from the Custom commands dialog, add a new command and give it a name, i.e. "queue + delete" Now set the command to execute the following code Code:
{ Click the OK button to save the changes and close the dialog. Now select the files/folders you want to queue and run the command, From the main menu > Commands > queue + delete or if you assigned a shortcut Ctrl+Shift+Q |
Hello,
thanks this seems to do exactly what i want on in my test folder (empty folder with a few folders named test_1 test_2 and so on) But on the "working" folder its only working on some folders. I figure it has to do with the folder names. Some contain one or more of the following special characters. Code:
[ ] ( ) & Quote:
Is there any way to fix that? If not i might be able to replace those special characters accessing the machine via putty. Would be an extra step every time, but still save me loads of time. Also no clue how i used FlashFXP since at least a decade and didn't knew about the ability to create own commands :confused: |
Sorry about that, I should of tested my example on a folder with spaces, I suspect that was causing the issue.
Please try this revised command Code:
{ |
That has fixed it, all folder are added with a delete command right after the download.
Thanks so much again! |
All times are GMT -5. The time now is 02:27 AM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)