On 28/05/2026 10:49, Thomas Wolff via Cygwin wrote:
Am 27.05.2026 um 18:53 schrieb William Stewart via Cygwin:
On Wed, May 6, 2026 at 9:31 AM Jakob Bohm wrote:

Folders that show up in Windows File Explorer may be actual folders
available via the Windows File IO APIs, or they may be virtual locations
implemented in loadable File Explorer extensions such as the extension
that allows using File Explorer to navigate inside ZIP files.  If (and I
don't know if this is the case), the Windows handling of the MTG? USB
protocol is an File Explorer extension, it probably isn't exposed to
other software such as Cygwin or even cmd.exe .

I can suggest two potential solutions I have used for file transfers
between Android devices and Windows machines: Syncthing and ssh server/sftp
client.

Regarding Syncthing: Requires folder setup and is primarily used to
synchronize directory contents. (Might not be suitable, depending on your
use case.)

Regarding ssh server and sftp: I run sshd on the Windows side and Total
Commander with its sftp plugin on the Android side.
For loading files from the phone it's actually easier to do it the other way around: Install SFTP server https://play.google.com/store/apps/details?id=ch.becke.sftp_server__s0_v1
then use you local sftp, cd /sdcard etc.
Or you could use adb via USB cable.

If adb is enabled on a phone in developer mode, adb can also be accessed over
TCP with SSH-like public key authentication of the PC.

But in regular consumer mode, the primary option is the USB protocol built
into Android, which for somewhat recent Android versions is the "MTP"
protocol originally designed for MP3 players and digital cameras, but in
early Android versions was the "USB disk" access to raw blocks of the SD
card inserted into the phone and implicitly unmounted by Android when the
USB cable was connected.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to