Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on June 14, 2022 9:43AM
Likes: 0
Replies: 1
Hi,
I'm currently trying to interact with the files in my Static Web Resources through a Python Recipe. But so far I couldn't find any code to help me with that
This recipe has a folder with images as an input. The idea is to verify if a copy of each image already exists in Static Web Resources and if it does not exist it needs to be created/copied.
Thanks in advance,
Tomás
Operating system used: Windows 10
Hi,
fetching or probing for a file in the static web resources can simply be done by a HTTP call (to http://localhost:port_of_dss/local/static/the/path/to/the/file ). Uploading data in there can at the moment only be done by the UI, or if you're admin of the instance, manually putting files in the local/static folder in the DSS data directory