revlet works locally - fails on server

Robert Brenstein rjb at robelko.com
Mon Nov 23 19:12:33 EST 2009


On 23.11.09 at 09:38 -0500 Roger.E.Eller at sealedair.com apparently wrote:
>The files are in the same folder on the server. They were uploaded as
>binary. There is no 'file' access in the stack script, but I do check for
>and create a folder locally. Could that be the problem?
>
>on openStack
>   if there is not a folder "C:/MyAppTemp" then
>     create folder "C:/MyAppTemp"
>   end if
>end  openStack
>
>Kind regards,
>
>Roger Eller <roger.e.eller at sealedair.com>

Such a code will work only if your server runs windows and your 
revlet has write access at the root level. It might be better to use 
one of the "magic" folders for a given OS.

Robert



More information about the use-livecode mailing list