MaterialFiles icon indicating copy to clipboard operation
MaterialFiles copied to clipboard

FTP Client recursively only lists root directory

Open SamuelMezger opened this issue 3 years ago • 5 comments

version: latest steps to reproduce:

  • add a FritzBox NAS as FTP server
  • open added storage -> works as expected
  • try to open folder

expected result:

  • contents of selected folder is shown

actual result:

  • root directory is shown again while selected folder is added to breadcrumbs

Unfortunately, I don't know what causes this to happen on the Fritzbox FTP server, but not on others. I tested this solution posted on stackoverflow and it indeed solves the issue. (Adding changeWorkingDirectory(pathname) here)

https://user-images.githubusercontent.com/51318535/205460445-361be1c7-5b80-4c01-9475-615f1c9e8bb4.mp4

SamuelMezger avatar Dec 27 '22 14:12 SamuelMezger

Hey, I am setting up my FritzBox and I have this excact problem with FTP in Material Files. As Material Files is the only app I can find that meets my needs (theoretically), this problem is extra annoying. Was suprised to find this issue. Would be very nice if this was resolved!

Edit: @SamuelMezger did you find a solution or an alternative?

Edit2: I mean a solution other than changing the code

Snickersbrot avatar Apr 29 '23 11:04 Snickersbrot

i have the same problem, always with fritxbox ftp serve. Someone find a solution without changing the code? or there is a way to download an apk file with this code modification?

automail-lab avatar Jul 26 '23 13:07 automail-lab

I am commenting to this old issue to say that for me I can't list file and directories, it just shows empty when connecting. But I have done the same fix in the code and it worked, now it shows everything correctly. #1099

o0Mardev avatar Jan 07 '24 09:01 o0Mardev