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 10-05-2013, 12:11 PM   #1
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Kindle WebDAV cadaver

The Min-Kloud's clerk has been stirring things up with a big stick (again).

The directory name that had the path separator character in it, is gone bye, bye (causes too many troubles).

What was there, is now found in:
dav:/kpw2/Amazon/Sources/v5.4.0/
(Presuming that Amazon will post firmware updates in the future.)

With a corresponding:
dav:/kpw2/Amazon/Binaries/
(Presuming that Amazon will post binary update packages.)

- - - - -

The problems with the Linux davfs2 driver:
Current news: Don't use it. Author bugfixes it every two years or so.

There is also an (old, but working nicely) command line client: cadaver
Just use your package manager to install it. It should be in all distributions.
(File paths above are copies of the cadaver prompt.)

@twobob: We might consider this for porting to the Kindle, it doesn't take the huge amounts of ram the other clients need.

Documentation on cadaver is limited to the man page:
http://linux.die.net/man/1/cadaver

Note: There also is a PerlDAV and a PyDAV client - not played with here.

Last edited by twobob; 10-11-2013 at 10:13 AM.
knc1 is offline   Reply With Quote
Old 10-07-2013, 01:28 AM   #2
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
There is also an (old, but working nicely) command line client: cadaver
Just use your package manager to install it. It should be in all distributions.
(File paths above are copies of the cadaver prompt.)

@twobob: We might consider this for porting to the Kindle, it doesn't take the huge amounts of ram the other clients need.

Documentation on cadaver is limited to the man page:
http://linux.die.net/man/1/cadaver
compiled openssl from source:http://www.openssl.org/source/openssl-1.0.1e.tar.gz
installed to /usr/local/openssl

compiled from source: http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz
./configure --with-ssl --prefix=blah,blah --with-libs=/usr/local/openssl

seems to work, but I am behind a restrictive proxy now. Can someone test, please?
Attached Files
File Type: zip cadaver.zip (1.38 MB, 182 views)
brianinmaine is offline   Reply With Quote
Advert
Old 10-07-2013, 09:13 AM   #3
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by brianinmaine View Post
compiled openssl from source:http://www.openssl.org/source/openssl-1.0.1e.tar.gz
installed to /usr/local/openssl

compiled from source: http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz
./configure --with-ssl --prefix=blah,blah --with-libs=/usr/local/openssl

seems to work, but I am behind a restrictive proxy now. Can someone test, please?
There is a public 'Cloud Service' that provides (tiny) free Clouds.
See: http://box.com

Yes, they try real hard to sell you services and apts - you can ignore all of that if you wish.

This (and nearly any other) 'Cloud Service' is a super-set of the WebDAV protocol.

So yes, you can use WebDAV enabled applications,
See: https://support.box.com/entries/2035...upport-WebDAV-
(Yes, from a desktop also - ignore the hard sell marketing.)

If you are viewing your main account (files) page in a browser while using cadaver, it will post the most recent action it (you) preformed.
Yes, cadaver has a help command (and 'folders' are called 'collections').
Yes, you can set your account to share with others (either by blind, read-only links or with read/write collaboration).

No, I am not selling Box.com services - but it is there and a free place to use as a test target.

Code:
core2quad ~ $ cadaver
dav:/? open https://dav.box.com/dav
Authentication required for dav.box.com on server `dav.box.com':
Username: xxxxxxx@yyyyyyyy.org
Password: 
dav:/dav/> ls
Listing collection `/dav/': collection is empty.
dav:/dav/> mput part_notes.txt
Uploading part_notes.txt to `/dav/part_notes.txt':
Progress: [=============================>] 100.0% of 415 bytes succeeded.
dav:/dav/> mkcol Kindle
Creating `Kindle': succeeded.
dav:/dav/> move part_notes.txt Kindle
Moving `/dav/part_notes.txt' to `/dav/Kindle/part_notes.txt':  succeeded.
dav:/dav/> close
Connection to `dav.box.com' closed.
dav:!> quit
core2quad ~ $
https://app.box.com/s/e1ytx89948j3rrd1ny2r

With a little bit of source code diddling to make cadaver usable from scripting, this will allow us to provide a KUAL button to find and directly download Kindle add-ons.
While allowing application developers an easy place to publish their application bundles.
(the 'stock' cadaver does not read commands from stdin)

Disclaimer: WebDAV is not the only way to do the above, so my idea here may die due to a better one replacing it.

So, yes, there is a reason for a WebDAV client on a Kindle.
Someone please test Brian's build for us.

Last edited by knc1; 08-10-2014 at 06:13 AM.
knc1 is offline   Reply With Quote
Old 10-08-2013, 10:46 AM   #4
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by brianinmaine View Post
compiled openssl from source:http://www.openssl.org/source/openssl-1.0.1e.tar.gz
installed to /usr/local/openssl

compiled from source: http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz
./configure --with-ssl --prefix=blah,blah --with-libs=/usr/local/openssl

seems to work, but I am behind a restrictive proxy now. Can someone test, please?
Would someone please test this?
It should work on any K5 from kTerm.

@NiLuJe: It has an upload/download progress bar.
knc1 is offline   Reply With Quote
Old 10-10-2013, 09:13 PM   #5
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 456
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
Would someone please test this?
It should work on any K5 from kTerm.

@NiLuJe: It has an upload/download progress bar.
So I can log into box.com and make directories and stuff. All seems well to me. This doesn't really belong in this thread, though. Maybe a moderator can move it somewhere better, please?
brianinmaine is offline   Reply With Quote
Advert
Old 10-10-2013, 10:50 PM   #6
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by brianinmaine View Post
So I can log into box.com and make directories and stuff. All seems well to me. This doesn't really belong in this thread, though. Maybe a moderator can move it somewhere better, please?
thanks a lot
maybe twobob will move it for us
knc1 is offline   Reply With Quote
Old 10-11-2013, 12:09 AM   #7
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
tis done.

gimme a clue on a good title.
twobob is offline   Reply With Quote
Old 10-11-2013, 08:05 AM   #8
knc1
Going Viral
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,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
tis done.

gimme a clue on a good title.
prefix: K5
title: Kindle WebDAV cadaver

Since there are multiple contenders for Kindle Kode distribution system/site I think we should continue to look at this possibility (its small, light weight, can be adapted to read commands from stdin).

The mini-cloud(s) that I am providing do not have the file level access controls I think are required for a public distribution repository.

But that level of control is not needed for "development resource pools" used by the small groups of people using my mini-kloud(s).

And as testing shows, it will work with at least the box.com Cloud Service.
So this does give the basic functions that would be expected for a collection(s) of anything shared by Kindle users. With direct access from those Kindles.

Note: Time passes and the world moves on - I was out-of-date above about Cloud Services being generally a super-set of WebDAV. That was once the case but no longer.

Last edited by knc1; 10-11-2013 at 08:20 AM.
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini WebDAV HowTo knc1 Kindle Developer's Corner 10 10-04-2013 10:02 AM
WebDAV support tuxor Onyx Boox 1 04-02-2013 09:24 AM
Calibre slowness on Webdav madeira Calibre 4 12-19-2012 06:05 AM
FREE zombie satire Cadaver in Chief SteveHockensmith Self-Promotions by Authors and Publishers 0 09-10-2012 04:03 PM
Free (Kindle): Cadaver in Chief (zombie political comedy?) Indio777 Deals and Resources (No Self-Promotion or Affiliate Links) 0 09-10-2012 04:00 PM


All times are GMT -4. The time now is 08:45 AM.


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