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
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024