Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! 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