Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello All,
I wanted to download external file in twx repository using service
so basically i need code snippet to download this file in TWX Service using link and save to repo
Any help appreciated !
Solved! Go to Solution.
The Resource ContentLoaderFunctions does offer services like LoadBinary, LoadImage, ...
There are some examples here: https://community.ptc.com/t5/IoT-Tips/ContentLoaderFunctions-in-ThingWorx/ta-p/820230
The Resource ContentLoaderFunctions does offer services like LoadBinary, LoadImage, ...
There are some examples here: https://community.ptc.com/t5/IoT-Tips/ContentLoaderFunctions-in-ThingWorx/ta-p/820230
I found below solution working for me
// remoteFileUrl : link for file to be download
// MyFileRepository : Repo name