download a resource

download a resource


How to download a resource file from the project?
Hi Luis,

What do you mean by "download a resource file from a project"? If you right-click it in Service Studio, I think there's a "Save As..." option, which allows you to do so.

If you're counting on downloading it in runtime, you'd have to load the file from the file system (there's our File System extension you can use). If I'm not mistaken, the resource files are deployed to the root folder of the application, so you'd have to read the binary content from the file system, and then download that content.

If you want to download it, probably you could also upload and store the file in the database as well, instead of using a resource to do so.

Hope this helps.


Paulo Tavares