Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes
We need to send files written by our application to the phone storage to the server. Is it possible?
by (32.7k points)

1 Answer

0 votes

The photo plugin (starting from version 2) can deliver non-image files from any directory of the phone storage (/storage/emulated/0/) to the server. 

Here's the sample configuration:

This configuration will require devices to send all .txt and .log files from /storage/emulated/0/logs to the server (/var/lib/tomcat9/work/plugins/plugin/photo/).

You must add the Photo Plugin mobile agent to the directory (available in the Premium package).

Note that some directories (/storage/emulated/0/Android/data/*) which are private to other applications are not accessible to Headwind MDM on Android 11 and above (here are the details: https://developer.android.com/about/versions/11/privacy/storage).

by (32.7k points)
...