3.16 latest patch
I have a case in which we need to lookup information from a file on the clients. How can I ensure that a file is always cached at the client?
Todd Malone
how to cache specific files on Desktop UI?
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: how to cache specific files on Desktop UI?
Hi do you mean autoUpdateDir? https://www.winccoa.com/documentation/W ... oUpdateDir
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: how to cache specific files on Desktop UI?
Just use getPath as documented under Restrictions to make sure the file is available on the client.
However if the file changes ofter than the cache timeout and you need the latest version can use netGet instead.
The autoUpdateDir config entry increases the time needed to start the client, so it is better to list the files with getFileNamesRemote and download only the needed files on demand.
However if the file changes ofter than the cache timeout and you need the latest version can use netGet instead.
The autoUpdateDir config entry increases the time needed to start the client, so it is better to list the files with getFileNamesRemote and download only the needed files on demand.