avogelba / WinDirStats

WinDirStats - Windows Directory Statistics, private clone from:
https://bitbucket.org/windirstat/windirstat
5 stars 0 forks source link

Support "This PC" devices such as Android phones #147

Open avogelba opened 8 years ago

avogelba commented 8 years ago

Originally reported by: Michael Diamond (Bitbucket: dimo414, GitHub: dimo414)


When I plug my Android phone into my computer as "USB for file transfer" it shows up under "This PC" in Explorer but isn't assigned a drive letter, so it doesn't show up in WinDirStat. It'd be awesome if I could use WinDirStat to clean up my phone; the on-device tools for doing so are a pain.


avogelba commented 7 years ago

Original comment by gen btc (Bitbucket: genBTC, GitHub: genBTC):


Your Android phone would be using an MTP over USB interface, which is totally different than an NTFS filesystem. Windows uses a compatibility shim (or whatever its actually called) that just makes it look alike, and respond to basic file actions. MTP (Media Transfer Protocol) and PTP (Picture Transfer Protocol) "Unfortunately, APIs exposed by MTP are very different from a normal filesystem APIs. Therefore exposing MTP device as a read/write filesystem is" [difficult.] This software popped up in a quick search: http://www.mtpdrive.com/ or http://ptpdrive.com/ Which are used to "map a drive letter" to the MTP device. Although this software is trialware, and there is no further guarantee WinDirStat will work with that, this is the best we can do at the moment as i believe writing the code for WinDirStat to support MTP is pretty difficult.