get script
Hi all,
I am trying to download all subfolders with files and after that delete subfolders.
Subfolders are located on "MAIN" directory.
I'm using this command:
get -delete MAIN/ "LOCAL_FOLDER"
It downloaded subfolders with files, deleted subfolders, however also wonted to delete MAIN directory. User hasn't access to delete MAIN directory and on logs I saw this errors:
Error deleting file '/MAIN'. ("Permission denied.
Error code: 3
Error message from server: Permission denied")
Script: Error deleting file '/MAIN'.
Script: Permission denied.
Error code: 3
Error message from server: Permission denied
Script: Failed
Script: Exit code: 1
Exit code 1 which I use to generate error messages.
So which script will get subfolders with files from MAIN directory, after get delete only that subfolders and doesn't try to delete MAIN directory by generating error messages.
Thanks
I am trying to download all subfolders with files and after that delete subfolders.
Subfolders are located on "MAIN" directory.
I'm using this command:
get -delete MAIN/ "LOCAL_FOLDER"
It downloaded subfolders with files, deleted subfolders, however also wonted to delete MAIN directory. User hasn't access to delete MAIN directory and on logs I saw this errors:
Error deleting file '/MAIN'. ("Permission denied.
Error code: 3
Error message from server: Permission denied")
Script: Error deleting file '/MAIN'.
Script: Permission denied.
Error code: 3
Error message from server: Permission denied
Script: Failed
Script: Exit code: 1
Exit code 1 which I use to generate error messages.
So which script will get subfolders with files from MAIN directory, after get delete only that subfolders and doesn't try to delete MAIN directory by generating error messages.
Thanks