I have the following script that copies a file to a shared folder on another computer.
Set Variable [ $path; Value:"filemac:/FM Scanned Data/ " & Right ( GetAsText (Documents::Document) ; Length ( GetAsText (Documents::Document) ) - 7 ) ]
Export Field Contents [ Documents::Document; “$path” ]
When the share is offline, the users receives a error dialog:
"“ Test.pdf” could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk."
I want to be notified by email when the share goes down. What Error Code is generated for this error so I can trap for it?