How can I upload a file, e.g. a configuration for my machine and how can I access this file

Hi,

my customer has an issue regarding the configuration of a machine. He wants to upload a configuration file (can be *.csv or *.xml) and want to access this file in different applications.

What is the preferred way, to upload such a single configuration file to the ctrlX?

If I upload the file, how can I access this file from other apps? For example, if I upload the file via FTP, I have not the necessary security rights, to access this files in an app.

I found only the way using the Configurations mechanism, to upload files to the ctrlX. But in my opinions it is not very intuitive and I have no idea, where I can find the uploaded files and how to access this via other apps.

Can you please give me an idea, how to solve this issue?

Best reply by CodeShepherd

The app data (aka configurations) folder is the easiest way for uploading data and sharing them with different apps. Therefore you can use following ways:

  1. Using a WebDAV client to manipulate the data inside the app data. See this post.
  2. Upload a complete app data archive and activate it.

To get to this data from other apps you can use the following path. See e.g. this topic.

 

/var/snap/rexroth-solutions/common/solutions/activeConfiguration/

 

View original
5 replies