[revServer] should revdelete work

Pierre Sahores psahores at free.fr
Wed May 4 10:57:14 EDT 2011


Yes, if really needed but about the unability of "delete folder" and/or revdeletefolder, to work against non empty folders, does this need to be seen as a bug or as a feature ? My vote would go to the second purposal...

Best,

Pierre

Le 4 mai 2011 à 16:13, Mike Bonner a écrit :

> In this case a (potentially dangerous) shell call is probably the best
> option.
> 
> shell("rm -r directoryname")
> 
> On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe <runrev260805 at m-r-d.de>wrote:
> 
>> Pierre,
>> 
>> thanks for your answer.
>> 
>> delete folder... unfortunately only deletes empty folders. If a folder
>> contains files or other folders one has to use revdeletefolder. At least
>> that´s what the dictionary says.
>> 
>> Regards,
>> 
>> Matthias
>> Am 04.05.2011 um 00:05 schrieb Pierre Sahores:
>> 
>>> Matthias,
>>> 
>>> I don't use the revdeletefolder command and can't comment on it but :
>>> 
>>> delete file (thepath)
>>> delete folder (thepath)
>>> 
>>> instead, from within my irev libs and it works fine (as long as, in case
>> of file, the file to delete is not the running irev script it self !).
>>> 
>>> HTH,
>>> 
>>> Pierre
>>> 
>>> 
>>> Le 3 mai 2011 à 23:20, Matthias Rebbe a écrit :
>>> 
>>>> Sorry,
>>>> 
>>>> of course i meant revdeletefolder.
>>>> 
>>>> Regards,
>>>> 
>>>> Matthias
>>>> Am 03.05.2011 um 23:18 schrieb Matthias Rebbe:
>>>> 
>>>>> Hi,
>>>>> 
>>>>> i am trying to delete an non empty folder with an .irev script on
>> on-rev.
>>>>> 
>>>>> The dictionary says that revdelete is supported under Desktop. Web
>> (Revlet) and Server. But i get an "Can´t find Handler" error.
>>>>> 
>>>>> Could someone confirm that revdelete does or does not work for her/him
>> under revServer?
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Matthias
>>>> 
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>> 
>>> --
>>> Pierre Sahores
>>> mobile : (33) 6 03 95 77 70
>>> 
>>> www.woooooooords.com
>>> www.sahores-conseil.com
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.woooooooords.com
www.sahores-conseil.com








More information about the use-livecode mailing list