Re: deleting folders on server with revDeleteFolder

2022-07-17 Thread Kee Nethery via use-livecode
Perhaps try using something other than a period as the beginning folder name 
character? Could be that’s why it’s not working. Just a thought, could be 
totally wrong.

Kee Nethery

> On Jul 17, 2022, at 5:21 AM, Alex Tweedly via use-livecode 
>  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
>> use-livecode@lists.runrev.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
> use-livecode@lists.runrev.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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: deleting folders on server with revDeleteFolder

2022-07-17 Thread Alex Tweedly via use-livecode

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
use-livecode@lists.runrev.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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: deleting folders on server with revDeleteFolder

2022-07-17 Thread Matthias Rebbe via use-livecode
I’m not at my desk at the moment, so I cannot give detailed information.  
But what I know is, that this function/command is included in the rev common 
library and that library is not included by default in LC Server. 

You need to copy that library from your LC ide Installation path to your LC 
Server installation path first. Then you have to load that library in your 
script using “start using stack 


Regards
Matthias
Von meinem iPhone gesendet

> Am 17.07.2022 um 11:18 schrieb jbv via use-livecode 
> :
> 
> 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
> use-livecode@lists.runrev.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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


deleting folders on server with revDeleteFolder

2022-07-17 Thread jbv via use-livecode

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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode