FTP Client recursively only lists root directory
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
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
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?
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