Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2020, 07:00 AM   #1
mdauso
Member
mdauso began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Device: Kindle PW2
cURL is not supporting FTP

Hello,

I´m just trying to use my Kindle PW as a Pictureframe. Nearly everything is running well but I have issues sending a log file to my FTP server. It seems cURL is not supporting FTP on my Paperwhite.

is there any way to update cURL. Installed version is 7.33.

Cheers,
Mario
mdauso is offline   Reply With Quote
Old 01-24-2020, 11:10 AM   #2
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,147
Karma: 18200597
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by mdauso View Post
Hello,

I´m just trying to use my Kindle PW as a Pictureframe. Nearly everything is running well but I have issues sending a log file to my FTP server. It seems cURL is not supporting FTP on my Paperwhite.

is there any way to update cURL. Installed version is 7.33.

Cheers,
Mario
More likely, you haven't setup the Kindle (Linux) firewall for ftp service.
https://serverfault.com/questions/38...-with-iptables


Although not intended for your purpose, my BBB (Block Big Brother) script will show you the details of adding/changing the Kindle's firewall rules using USB visible rules.
knc1 is offline   Reply With Quote
Advert
Old 01-24-2020, 02:07 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,803
Karma: 17500000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
(Recent) USBNet bundles a full-featured cURL build. It's not symlinked (probably because the Kindle already ships one, I didn't even remember that ), but it's in /mnt/us/usbnet/bin (and should have HTTPS support out of the box, too).

Sidebar: I'm not a fan of FTP . You could go with SCP/SFTP, or rsync, or, hell, hide it all behind an sshfs mount .
NiLuJe is offline   Reply With Quote
Old 01-24-2020, 04:58 PM   #4
mdauso
Member
mdauso began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Device: Kindle PW2
Hello NiLuJe,

I think this could solve the issue but I dont know how to change the symlink. I tried to do the „ln“ but it didn‘t work. Can you give me a hint? The existing curl allready installed on the kindle is placed in /usr/bin/ the one you are talking about is in the /mnt/us/usbnet/bin/ folder. „whereis curl“ always points to /usr/bin/.

Cheers,
Mario
mdauso is offline   Reply With Quote
Old 01-24-2020, 05:47 PM   #5
dhdurgee
Fanatic
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 516
Karma: 1185426
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by mdauso View Post
Hello NiLuJe,

I think this could solve the issue but I dont know how to change the symlink. I tried to do the „ln“ but it didn‘t work. Can you give me a hint? The existing curl allready installed on the kindle is placed in /usr/bin/ the one you are talking about is in the /mnt/us/usbnet/bin/ folder. „whereis curl“ always points to /usr/bin/.

Cheers,
Mario
You should still be able to call the version NiLuJe is referring to by entering the fully qualified file name when you invoke it,ie:

/mnt/us/usbnet/bin/curl {arguments go here}

Does that help?

Dave
dhdurgee is offline   Reply With Quote
Advert
Old 01-25-2020, 04:37 PM   #6
mdauso
Member
mdauso began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Device: Kindle PW2
Quote:
Originally Posted by dhdurgee View Post
You should still be able to call the version NiLuJe is referring to by entering the fully qualified file name when you invoke it,ie:

/mnt/us/usbnet/bin/curl {arguments go here}

Does that help?

Dave
Hello Dave,

thanks a lot, thats it. Pointing to the „new“ cURL works perfekt.
I have still issues using ftps together with Fritz!Box instrad of ftp. FTP is running well. Maybe I will figure out whats the problem.

Thank you all for the usefull hints,
Mario
mdauso is offline   Reply With Quote
Old 01-25-2020, 06:18 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 9,803
Karma: 17500000
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
FTPS is a deprecated, barely (if even that) standardized aberration. Just don't, please. .
NiLuJe is offline   Reply With Quote
Old 01-26-2020, 04:42 AM   #8
mdauso
Member
mdauso began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Dec 2019
Device: Kindle PW2
Quote:
Originally Posted by NiLuJe View Post
FTPS is a deprecated, barely (if even that) standardized aberration. Just don't, please. .
Thats true but unfotunately the Fritz!Box router only supports ftp/ftps for interaction with internal storage area.

Cheers,
Mario
mdauso is offline   Reply With Quote
Reply

Tags
curl ftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page curl on amazon devices. JudahsShadow Devices 12 05-20-2019 12:42 PM
CURL for Kobos [request] nhedgehog Kobo Developer's Corner 10 10-26-2018 11:36 AM
wireless ftp bookzLove Kindle Developer's Corner 6 11-23-2013 10:43 AM
"Can you curl up with a good e-book reader?" lmarie News 39 04-24-2009 06:12 AM
Run cURL Kiba iRex 1 07-05-2008 07:45 PM


All times are GMT -4. The time now is 12:10 AM.


MobileRead.com is a privately owned, operated and funded community.