deleting folders on server with revDeleteFolder

jbv at souslelogo.com jbv at souslelogo.com
Sun Jul 17 05:16:25 EDT 2022


Hi list,

On my LC Hosting account, I have a php script that creates directories :
    mkdir($dirname, 0755);
Each directory is used to temporarily store text & image files.

Then I have a LC script that is supposed to delete those directories
under certain conditions. No problem for deleting files inside each
directory, but 2 sub-directories are systematically created, named
"." and ".." and those can't be deleted, either by script of via ftp.
Therefore, there's no way to delete the directories created via php.

Last but not least, the doc for LC 9.6.8 says that "revDeleteFolder"
is the command to use to remove a folder and all its contents and that
it is available on both desktop and server platforms, but on my LC
hosting account I get : Handler: can't find handler (revDeleteFolder)

Any idea how to solve this problem ?
Thank you in advance.
jbv



More information about the use-livecode mailing list