Yeah, what Alex said, those are posix (Unix) placeholders that point to folders (. self, and .. parent directory), they aren’t actual real folders.
On Sun, Jul 17, 2022 at 8:21 AM Alex Tweedly via use-livecode < email@example.com> wrote: > Those folders are > > "." - the folder itself > > ".." - the parent of the folder itself. > > As such, neither can be deleted directly, nor do they need to be in > order to delete the folder itself. The folder itself should be deleted > when the current folder is set to somewhere else. > > So - there isn't really a problem, just don't try to delete them by > those names. > > > Alex. > > > On 17/07/2022 10:16, jbv via use-livecode wrote: > > 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 > > > > _______________________________________________ > > use-livecode mailing list > > firstname.lastname@example.org > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > email@example.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list firstname.lastname@example.org Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode