Alex4SSB / ADB-Explorer

A fluent UI for ADB on Windows
MIT License
354 stars 29 forks source link

Issues with pull #175

Closed yofukashino closed 1 year ago

yofukashino commented 1 year ago

basically cant pull because it trys to pull into a temp folder in local which would be made in some directory under IsolatedStorage in Local app data. for me the folder doesnt exist in local app data so it gives error. why not use normal temp folder?

Alex4SSB commented 1 year ago

Can you please explain exactly the pull operation you are trying to perform? When you want to pull a file, the app opens a folder browse dialog, where you can select any folder you want to pull to. The app only pulls into the IsolatedStorage folder when you Open In Editor (Ctrl+E). This feature can also be activated if:

  1. Double click behavior is set to Open In Editor in settings
  2. You double click a file in the app
yofukashino commented 1 year ago

when i pull by write click this is the command C:\Users\Ajmer Singh.DESKTOP-PF4H4LM\AppData\Local\IsolatedStorage\jrbqqwjj.kt2\anosudg5.iak\Url.zably4f2nqv3qa0ft2u3f4imqcslxm0f\Url.zably4f2nqv3qa0ft2u3f4imqcslxm0f\Files\AdbProgressRedirection.exe "C:\Users\DESKTOP-PF4H4LM\scoop\apps\adb\current\platform-tools\adb.exe" -s 192.168.0.110:45993 pull -a "/sdcard/Download/RDT_20230405_1018214214604899092012920.jpg" "E:\"

but the thing is there is no directory like that and hence no exe file

Alex4SSB commented 1 year ago

Oh, right, I forgot about that. Yes, the ProgressRedirection is required to get the progress of the Pull/Push operations, and in store versions it is placed in the IsolatedStorage.

But in case that directory cannot be written to, Push/Pull operations should be disabled, so it is weird this didn't happen for you.

Can you please launch the app while holding L-Ctrl? This should open the IsolatedStorage folder.

yofukashino commented 1 year ago

well i did that, now normal pull works but still cant open in editor

Alex4SSB commented 1 year ago

So currently you have AdbProgressRedirection.exe in the IsolatedStorage folder, but the editor is unable to pull files into it? Do you have a TEMP folder in the IsolatedStorage? If not, can you please create it and see if that helps?

The editor pulls files into the TEMP folder: image

yofukashino commented 1 year ago

yup it do help

Alex4SSB commented 1 year ago

Interesting, it sounds like a permissions issue, anyway glad I was able to help.