# Accessing mobile phone folders from Ignition Vision

**URL:** <https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [December 4, 2024, 9:59am UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409 "2024-12-04T09:59:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luca\_Bigi](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Luca\_Bigi](https://forum.inductiveautomation.com/u/Luca_Bigi)\
**Post date:** [December 4, 2024, 9:59am UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/1 "2024-12-04T09:59:48Z")

</div>

In Ignition Vision, is there any way to access the directories of a mobile phone connected to the device on which Ignition is running?  
I tried using the functions system.file.openFile and os.listdir, but I didn't get any results.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [December 4, 2024, 10:04am UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/2 "2024-12-04T10:04:25Z")

</div>

Whats the goal here?

It's probably possible, but the phone will definitly have to allow this, before its visible in the directory.

Though im pretty sure different phone brands/versions have different file structures, so it seems waaay to much work to locate something.

---

<div class="post-metadata">

**Author:** ![Luca\_Bigi](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Luca\_Bigi](https://forum.inductiveautomation.com/u/Luca_Bigi)\
**Post date:** [December 4, 2024, 10:11am UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/3 "2024-12-04T10:11:44Z")

</div>

The goal would be to save the path of a file chosen by a user on their phone, and then perform all the actions that can be done with system.file (move it, delete it, etc...).

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [December 4, 2024, 10:19am UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/4 "2024-12-04T10:19:46Z")

</div>

Will all the phones be of the same type (android)?  
How owuld you let them select this folder?  
Why do they need to go through igntion to move files?

While it seems to be possible, it also seems very dangerous to do this, are you gonna let igntion check if the user transfers malious files?  
Are you gonna check if ignitions tries to delete critical files on the phone?

This seems dangerous and a lot of work just so a user doesnt have to open a fileexplorer.

Probably easier to just let them upload stuff from their phone to a cloud drive

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 4, 2024, 1:40pm UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/5 "2024-12-04T13:40:39Z")

</div>

> [@Luca\_Bigi](#):
>
> In Ignition Vision

Vision doesn’t run on phones…

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [December 4, 2024, 1:56pm UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/6 "2024-12-04T13:56:23Z")

</div>

> [@Luca\_Bigi](#):
>
> connected to

I tried asking why and what he really wants, But could assume OP might want to plugin an usb to a phone and download some images (?)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 4, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/7 "2024-12-04T14:01:08Z")

</div>

Ah, if that’s the case, then yeah I guess if you mounted the phone as mass USB storage or whatever so it was just another drive it should be accessible?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [December 4, 2024, 2:07pm UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/8 "2024-12-04T14:07:28Z")

</div>

Most devices do not support this for securety reasons.  
They only support MTP (Media Transfer Protocol) and PTP (Picture Transfer Protocol) protocols. Which do not support the classic drive access UMS (USB mass storage) would give.

(unless in debug mode, with abd (android debug bridge) which is not what you want your users to be in)

Atleast it used to be like this... I havent worked on android apps in a while...

A quick google shows there might be some android apps that allow ums. But not sure how much that is safer or supported these days.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 4, 2024, 4:25pm UTC](https://forum.inductiveautomation.com/t/accessing-mobile-phone-folders-from-ignition-vision/99409/9 "2024-12-04T16:25:29Z")

</div>

Linux typically exposes MTP in a private mount, so would be accessible as files. FWIW
