Universal Robots Forum

How to upload a file in the program from the ur cap

Hi to everyone!!!
In my application my data are saved in a json file in the urcap.The problem is that i can’t upload it because i have a null pointer exception. I think it’s a problem of the retrieving the route of the file.
Are there some examples of the right method for acccessing file from file system of the urcap?
Thanks to everyone!!!