Re: FileExists and FileSize
David Delač
12-5-19
Hi Paul,

Async functions do not wait for the client to process, so can not use any var declared arguments. Best way is to make a single call to the client and pass the area, this function then writes and checks the file size.


CreateFile/WriteAreaToFile/CloseFile use a different process than ClientRemoteAsync and could, when called from the server, execute significantly delayed

Best Regards,
David D.
HansaWorld
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Paul Timms
What does "holding wrong DV" mean in hansa.log? Our customer's system crashed and restarted this morning, and this was the last message in the log before it restarted. The user it ha...
11:24 30 Jun 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025