Author Topic: Cannot uncompress from zip directly to MTP device  (Read 359 times)

ags

  • Junior Member
  • **
  • Posts: 48
    • View Profile
Cannot uncompress from zip directly to MTP device
« on: January 16, 2025, 16:37:21 »
Trying to uncompress from a zip file to a phone. The zip file is on local storage.
The zip file is not the issue, it does this for any zip file.

MC throwh this cryptic message: Unknown Error (0).

FileOperations Log says this:
2025-01-16 17:28:38.886 Unable to open target file : WPD:\ONEPLUS A5000\Internal shared storage\Installs\[***].apk ( Error code : 0, Internal Error Code : 0)
2025-01-16 17:28:38.886 Handle file Operations error : 0 (0) -


That's a lot of zeroes all over the log, haha! ;)

Mathias, do you think it is related to the fact that you upgraded the zip plugin lately because of my bug report with the empty directories packing?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4528
    • View Profile
    • Multi Commander
Re: Cannot uncompress from zip directly to MTP device
« Reply #1 on: January 16, 2025, 16:44:42 »
No, unsupported senario.
WPD does not support stream read/writes.. it only support Upload/Download to WPD device from/to local disk.

Automatic middle storage on local drive (%temp%) and then copy to Extension is planed.

Btw you should get a dialog saying "Operation is not support supported for this fs/archive"
How did you start the copy operation ?
« Last Edit: January 16, 2025, 16:52:56 by Mathias (Author) »

ags

  • Junior Member
  • **
  • Posts: 48
    • View Profile
Re: Cannot uncompress from zip directly to MTP device
« Reply #2 on: January 16, 2025, 19:05:50 »
Quote
Automatic middle storage on local drive (%temp%) and then copy to Extension is planed.
Great, this will solve my problem nicely. And I suspect it would address other problems as well :)

Quote
Btw you should get a dialog saying "Operation is not support supported for this fs/archive"

MC did not show a dialog with the warning of operation not supported. This dialog would have cleared things up. But more than the dialog, I am wishing for the %temp% implementation. Then the dialog would not be necessary in this case. :))

Quote
How did you start the copy operation ?
I opened the zip with <Enter> and then <F5> on a file from inside to copy just that file to the phone.

« Last Edit: January 16, 2025, 19:08:28 by ags »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4528
    • View Profile
    • Multi Commander
Re: Cannot uncompress from zip directly to MTP device
« Reply #3 on: January 16, 2025, 19:24:32 »
Strange, if I navigate into the zip and start a copy operation to WPD, I get the dialog saying it it not possible.
Not sure what you did to get around that



ags

  • Junior Member
  • **
  • Posts: 48
    • View Profile
Re: Cannot uncompress from zip directly to MTP device
« Reply #4 on: January 16, 2025, 20:24:20 »
I don't think I did something to not show the warning. Maybe MC is not hardcoded to show that in my case?
Here is a video that may bring some clarity: https://streamable.com/gjehzd (only hosted for two days).
In the video I drag the file with the mouse instead of pressing F5, to be clearer what I did.
« Last Edit: January 16, 2025, 20:26:31 by ags »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4528
    • View Profile
    • Multi Commander
Re: Cannot uncompress from zip directly to MTP device
« Reply #5 on: January 16, 2025, 21:50:55 »
Strange I can not make that happened..

ags

  • Junior Member
  • **
  • Posts: 48
    • View Profile
Re: Cannot uncompress from zip directly to MTP device
« Reply #6 on: Yesterday at 09:48:40 »
I wonder if the OS has a part in this? In the sense that different Windows versions would report slightly different things to MC, leading to different user experiences?
I am on Windows 11 x64, 24H2 (OS Build 26100.2152)

ags

  • Junior Member
  • **
  • Posts: 48
    • View Profile
Re: Cannot uncompress from zip directly to MTP device
« Reply #7 on: Today at 09:49:12 »
Update: tested this on Windows 10 and MC still does not show the dialog saying it not possible.
So it does not depend on Windows' implementation of MTP protocol. It is something in MC itself.