Re: Rename File on Server not working?

2017-05-08 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: > Hi Richard, > > The result says: > > can't rename file (20) > > I see that you are using a “move file” in your example. > The dictionary doesn’t show an example for moving a file. > > I tried the following example to see what would happen: > > move file

Re: Rename File on Server not working?

2017-05-08 Thread Rick Harrison via use-livecode
Hi Richard, The result says: can't rename file (20) I see that you are using a “move file” in your example. The dictionary doesn’t show an example for moving a file. I tried the following example to see what would happen: move file OldImagePathAndFileName to tFileName if the result is not

Re: Rename File on Server not working?

2017-05-08 Thread Richard Gaskin via use-livecode
Rick Harrison wrote: I was trying to use rename file on the Server in a .lc script to rename a file. It doesn’t seem to work at all. Can someone please let me know if it works on an LC Server? It should. Try checking the result immediately after, and if not empty call sysError() for the OS

Rename File on Server not working?

2017-05-08 Thread Rick Harrison via use-livecode
Hi there, I was trying to use rename file on the Server in a .lc script to rename a file. It doesn’t seem to work at all. Can someone please let me know if it works on an LC Server? Thanks, Rick ___ use-livecode mailing list