src file definitely exists as well as destination directory.
When doing something like the following:
Code: Select all
revCopyFile tsrcfile,tdestdir
if the result is not empty then
wait for 100 milliseconds with messages
revCopyFile tsrcfile,tdestdir
if the result is not empty then
wait for 100 milliseconds with messages
revCopyFile tsrcfile,tdestdir
if the result is not empty then
put "DIDN'T WORK"
else
put "WORKED! #3"
end if
else
put "WORKED! #2"
end if
else
put "WORKED! #1"
end if
Further checking seems that when copy attempt 1 and 2 don't work, the result is '1'
It is intermittent and has me puzzled. I have further tested revCopyFile and it seems that the only time I can get a '1' in the result is if the src file does not exist. I just don't get what is going on here?