DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 64SECl1p2530919 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 64SECl1p2530919 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=IRwQUsVW X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 216BD4BA2E16 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1779977566; bh=RYYV6KpSk64SPfaQCBdhxDiEpdrvA7TnLo7lW1m+TFM=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=IRwQUsVWCKbRNFPrmzpp14kuVTHhs+x/3GQuBO7pUgYvtVdqiji6krRX+gmzJXaq+ Eh5qRtnYtnEoMf7Vcou4VCN7BA9y8XWjXHCSEfDEqjO+HfND+X9z15Q1OiY7/fLyHg 6RD1uqcFQ8552bDSv/zR2gyvfpWgjDFWzeFHZw9Y= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E41924BA23C6 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E41924BA23C6 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779977402; cv=none; b=eEnM+s9Rx9J1kRJ633lN0KzuMHXPFV5SBSSYfgIFnEcZR72FuuiPXK9DFqSoYzSe7ukA4uGTG6QBEL1+FHTjTosatRYr8oUadIf0zSJHaeS37FmPhcByfYkElgKrkXTHTM1sgAkgwxdr6kxr3iqCrqumH5m/G2fpBbkaREfk76o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779977402; c=relaxed/simple; bh=d5dCfHp9Bi2rXwhnSqPbVu5Erw+lDNlf1710E38hZHs=; h=DKIM-Signature:Subject:To:From:Message-ID:Date:MIME-Version; b=FX9xaHOuZQjcZtYTDJ281yjn1SiIXg2hYSPMXYAk/wjQ0bqjn4n+n6D976VNZtS1GfMukNn8lxQWLPDUzLsk0FIF9Hq/z7kwVFhVIY9y1TnGiavI7Hs9xyg+LkmHqCv3aaOAJ3mJyVu5932gISTRwcOorF06uSj+0xj+Iw4nYg8= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E41924BA23C6 Subject: Re: Access files on Android phone via Cygwin? To: cygwin AT cygwin DOT com References: <668aac5e-ea04-2588-3510-3c558c111e4f AT wisemo DOT com> <4d79fcc9-4d61-41ea-9e0f-14629bcf7e42 AT towo DOT net> Organization: WiseMo A/S Message-ID: <6719a004-3ae6-eb71-1ba6-9c7af66c359e@wisemo.com> Date: Thu, 28 May 2026 16:09:56 +0200 X-Mailer: Epyrus/2.2.0 MIME-Version: 1.0 In-Reply-To: <4d79fcc9-4d61-41ea-9e0f-14629bcf7e42@towo.net> Content-Language: en-US X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jakob Bohm via Cygwin Reply-To: Jakob Bohm Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 64SECl1p2530919 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