FileOps copy file mystery

surfway.bigpond.com surfway at bigpond.com
Wed Oct 23 04:15:30 UTC 2024


I have this line of code to copy a file from one directory to another

Do FileOps.$copyfile(lfrompath,ltopath) Returns lerror

When I run it comes up with an error 101201 even though the file and paths do exist. The file does not get copied. The variables are all local

So I put a breakpoint on the line to check what the lfrompath and ltopath values are and they all look correct and the line then works

So the Breakpoint makes it work

What am I missing?

Andrew McVeigh
Surfway Real Solutions
Phone 02 44412679 Mobile 0418428016
www.surfway.com.au
www.berrarabeach.com.au



More information about the omnisdev-en mailing list