Im having one thingworx repository thing to store files which i will be accessing from c drives and once i have the files from c drive in thingworx i will further process it and will store it into the file repository of that thing.
Im not sure how to do it because i have used few services to access files on C drive of system but it thows invalid child error and im also not sure about thingworx even allows that or not so trying get some knowledge and help on that here.
Solved! Go to Solution.
Hi @Mayur_B ,
It's not a question on whether ThingWorx can do it, but instead it's related to the rights the Tomcat's user has. As a best practice, the user under which Tomcat runs has read/access writes specifically to the Tomcat's folder and to the ThingWorx Platform and ThingWorx Storage folders.
That user should not have rights to any other folders outside of these two, in order to reduce the risk of having security issues (eg: someone could read unintended information from C or worse...). I'm writing should in bold, because it's up to how you configure the rights of that user, in case you're hosting on-premise (or your own Azure subscription) but you should really approach this by copying those files through another process in the FileRepository folders.
In case it helps, there's a way to move the contents of all the FileRepositories: that's defined here . Probably obviously, but you should also set the same Tomcat user rights only for this folder (not for the root drive).
Hi @Mayur_B ,
It's not a question on whether ThingWorx can do it, but instead it's related to the rights the Tomcat's user has. As a best practice, the user under which Tomcat runs has read/access writes specifically to the Tomcat's folder and to the ThingWorx Platform and ThingWorx Storage folders.
That user should not have rights to any other folders outside of these two, in order to reduce the risk of having security issues (eg: someone could read unintended information from C or worse...). I'm writing should in bold, because it's up to how you configure the rights of that user, in case you're hosting on-premise (or your own Azure subscription) but you should really approach this by copying those files through another process in the FileRepository folders.
In case it helps, there's a way to move the contents of all the FileRepositories: that's defined here . Probably obviously, but you should also set the same Tomcat user rights only for this folder (not for the root drive).
Thanks for your response VladimirRosu.