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 based services not working (send2ebook, cloud storage) ? #7955

Closed
mwoz123 opened this issue Jul 10, 2021 · 4 comments · Fixed by #8747
Closed

ftp based services not working (send2ebook, cloud storage) ? #7955

mwoz123 opened this issue Jul 10, 2021 · 4 comments · Fixed by #8747

Comments

@mwoz123
Copy link
Contributor

mwoz123 commented Jul 10, 2021

  • KOReader version: 2021.04-60
  • Device: Inkbook Prime (android)

Issue

Since couple months I'm not able to use ftp services (send2ebook, now also checked cloud storage but it aslo didn't work) on koreader.
I even switched provider to differnet ftp (drivehq.com) but it's the same problem

Steps to reproduce

In the hostname I tried:
ftp://ftp.drivehq.com
ftp.drivehq.com
ftp://drivehq.com
the first one should be valid and I'm able to use it with nautilus, but as there's some logic around the connection string in koreader I tried all combinations, but none works

Zrzut ekranu z 2021-07-10 12-56-46

on emulator :
FtpApi:listFolder(connection_url .. ftp_config.folder, ftp_config.folder)
this returns false

there's also minor issue that when openeing again settings it forgets folder, but when entered it makes use of it.

@NiLuJe
Copy link
Member

NiLuJe commented Jul 10, 2021

I'm pretty sure you don't need to specifiy the protocol handler, for once.

@mwoz123
Copy link
Contributor Author

mwoz123 commented Jul 10, 2021

ok now tried only drivehq.com in hostname

in emulator connection string looks like this: ftp://mwoz123:XXXXXXXX@drivehq.com
which seems incorrect and I'm not albe to connect without ftp. prefix in front of drivehq.com (in nautilus)

In Koreader emulaor (v 2021-05-66) response for all scerious is false (for FtpApi:listFolder).

Difference is it keeps on waiting/hanging and looks much more like connection timeout (for drivehq.com & similarly it was for ftp://drivehq.com). Where as for ftp://ftp.drivehq.com and ftp.drivehq.com response false is in around 1 sec

@pazos
Copy link
Member

pazos commented Jul 10, 2021

@mwoz123: send2ebook will be deprecated soon. Their companion app was archived because it didn't work and you're probably the only user here. Now it is possible to have user plugins (just copy the plugin to your plugins folder (ie: in android that would be /sdcard/koreader/plugins).

If you're interested you can push the plugin to your own repo, like https://github.com/jperon/clock.koplugin. If not I will move it to https://github.com/koreader/contrib a few months after deprecation.

@NiLuJe
Copy link
Member

NiLuJe commented Jul 10, 2021

I meant the protocol handler (ftp://), not the subdomain (ftp.) ;).

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

Successfully merging a pull request may close this issue.

3 participants