cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Load an XML file from another computer

ptc-6292144
3-Visitor

Load an XML file from another computer

i am trying to load an xml file that is continuously updated into thingworx. The file is not stored on the server my thingworx application is running on. Whenever I try to use the Getxml or loadxml snippets, I receive an error. I am typing in the files location as you would in an windows browser in the URL section. Help would be greatly appreciated.

1 REPLY 1
AdamR
12-Amethyst
(To:ptc-6292144)

Hi Michael,

Since all Thingworx Platform processes run through tomcat which is, of course, web accessible, we do not allow any direct access to file system objects.  The URL in the GetXML or LoadXML also needs to be a web accessible (even if it is localhost) http/https location.

If the file can be moved outside of the Thingworx platform you can move it into the tomcat/WebApps directory or a file repository on the server file system (this would be under ThingworxStroage/Repositories).  This would be the only way to access a file system file.

Top Tags