Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP file browser does not descend into directories #2

Open
rhaleblian opened this issue Jan 15, 2018 · 13 comments
Open

FTP file browser does not descend into directories #2

rhaleblian opened this issue Jan 15, 2018 · 13 comments

Comments

@rhaleblian
Copy link

Immediately apparent when browsing asimov.net, since games are in genre directories.

Taking a look at it.

@rhaleblian
Copy link
Author

Not caching for directories works fine. File requests still hit the cache. Makes for simpler code as well.

Two side notes:

  1. the single file in cache/ is named ftp.(null), which seemed odd. But probably irrelevant if you're not caching dirs.
  2. selected files drop next to cache/, not in it. Maybe that's by design.

@rhaleblian
Copy link
Author

See #3 .

@dabonetn dabonetn closed this as completed Feb 4, 2018
@dabonetn
Copy link
Owner

dabonetn commented Feb 4, 2018

Ok, so I've compiled from your source and it still won't browse directories.

Did you test your code yet?

@dabonetn dabonetn reopened this Feb 4, 2018
@rhaleblian
Copy link
Author

Worked for me back in the day. Let's see what my mileage is these days.

@rhaleblian
Copy link
Author

rhaleblian commented Jun 23, 2018

Still works. I checked that the existence of file cache/ftp.(null) from a previous session running master branch doesn't mess things up; it didn't for me but if you try again you might want to delete ftp.(null) first.

One error still persists -- the browser initially drops into the first subdirectory, 'action'. This error is in master as well.

Note: i had to make the dir cache in ftp myself, but you knew that, because if it's missing you'll get "Failure. Press any key!" in the browser.

@rhaleblian
Copy link
Author

@rhaleblian
Copy link
Author

Oh, the browser opens where you last downloaded a file, so the subdirectory start location is by design, not a bug.

@Zanop
Copy link

Zanop commented Mar 9, 2019

Mine wont get into directories, it always shows the first directory listing with the categories no mather what I click. The top of the screen shows the current directory, it descends to whatever I select while the list remains always the same. Deleting the ftp.(null) file does not change anything, it just recreates is and always lists first dir. Permissions on the dir are right, owner 'pi'.

I have noticed the ftp.(null) and thought thats the problem. Built from source, any ideas?

@rhaleblian
Copy link
Author

Hi @Zanop , hmm i was recently wondering whether this was ok or not in mainline so i could decide what to do with my fork. When i can, i'll build from the same source you did; if it happens to me too i might have a fix for it after all.

@Zanop
Copy link

Zanop commented Mar 11, 2019

Hi @rhaleblian, I have submitted a fix, check out my pull request.

@dabonetn
Copy link
Owner

I'll try to get to these soon, sorry, been tied up with real life lately.

@rhaleblian
Copy link
Author

Me too, i might have time tonight.

@rhaleblian
Copy link
Author

#10
works, see comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants