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 03-13-2012, 04:34 PM   #1
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
A basic ftp server for Touch?

Duokan has a built-in ftp server( miniftpd ) which is very useful to add/remove items from Kindle w/o any need for a cable or ssh

Are there any to run through launcher?

I found one(ftpserver.py) but not have enough knowledge to make the required settings.

Attached all the related files that I have in case someone wants to work on this

In Duokan its really simple to use this ftp:
Spoiler:

1- Choose from the menu



2- use Windows' file browser with the given ftp address:
Attached Files
File Type: zip Duokan's ftp files.zip (34.3 KB, 77 views)
File Type: zip ftpserver and pyftpdlib-0.7.0.zip (129.9 KB, 62 views)
File Type: zip python 2.6 in Duokan.zip (2.86 MB, 58 views)
thomass is offline   Reply With Quote
Old 03-13-2012, 04:41 PM   #2
hostar
Zealot
hostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of lighthostar is a glorious beacon of light
 
Posts: 137
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
I don't know if it works for touch, but I don't see why not:
http://www.mobileread.com/forums/sho...1&postcount=22

This allows to connect over sshfs of sftp.
hostar is offline   Reply With Quote
Old 03-13-2012, 04:45 PM   #3
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by hostar View Post
I don't know if it works for touch, but I don't see why not:
http://www.mobileread.com/forums/sho...1&postcount=22

This allows to connect over sshfs of sftp.

It needs ssh, therefore it is not safe and not simple as Duokan's ftp
thomass is offline   Reply With Quote
Old 03-13-2012, 04:56 PM   #4
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Huh?

ssh is WAY safer than FTP, and IMHO it's also easier to use.
ixtab is offline   Reply With Quote
Old 03-13-2012, 05:18 PM   #5
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by ixtab View Post
ssh is WAY safer than FTP
What I mean is not the security among different devices but security in my Kindle.
I only compared how much damage I can do on my device using each of them. Not know much about principles of protocols.

For me Duokan's way is easier because it doesn't need an app on my PC.
thomass is offline   Reply With Quote
Old 03-13-2012, 05:44 PM   #6
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
EDIT: What ixtab said, except the long geekmaster version with all the extra "supporting" information ..

Most "respectable" internet service providers and web hosts do not even ALLOW FTP logins anymore, like since 1999 or shortly thereafter:

Excerpt from Wikipedia:
FTP was not designed to be a secure protocol—especially by today's standards—and has many security weaknesses. In May 1999, the authors of RFC 2577 listed a vulnerability to the following problems:
Bounce attacks
Spoof attacks
Brute force attacks
Packet capture (sniffing)
Username protection
Port stealing
FTP is not able to encrypt its traffic; all transmissions are in clear text, and usernames, passwords, commands and data can be easily read by anyone able to perform packet capture (sniffing) on the network. This problem is common to many of the Internet Protocol specifications (such as SMTP, Telnet, POP and IMAP) that were designed prior to the creation of encryption mechanisms such as TLS or SSL. A common solution to this problem is to use the "secure", TLS-protected versions of the insecure protocols (e.g. FTPS for FTP, TelnetS for Telnet, etc.) or a different, more secure protocol that can handle the job, such as the SFTP/SCP tools included with most implementations of the Secure Shell protocol.

Although on an unshared USBnet connection, it would not matter as much as long as we have no viruses or spyware sniffing our Windows network interfaces, and we all know how secure Windows is, don't we?

EDIT: And with the modern secure transfer protocols, we do not have to worry about corrupting our transferred binary data by forgetting to set BINARY transfer mode, as was all too common with FTP.

Last edited by geekmaster; 03-13-2012 at 06:57 PM.
geekmaster is offline   Reply With Quote
Old 03-13-2012, 05:55 PM   #7
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by geekmaster View Post
EDIT: What ixtab said, except the long geekmaster version with all the extra "supporting" information ..
Got it

Thanks for the info
thomass is offline   Reply With Quote
Old 03-13-2012, 06:00 PM   #8
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by thomass View Post
Quote:
Originally Posted by geekmaster
EDIT: What ixtab said, except the long geekmaster version with all the extra "supporting" information ..
Got it

Thanks for the info
Why give a simple YES or NO answer, when you can write a entire BOOK on the subject?

Last edited by geekmaster; 03-13-2012 at 06:04 PM.
geekmaster is offline   Reply With Quote
Old 03-13-2012, 06:33 PM   #9
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677557
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
If you really really really want ftp access, you can use the attached server. I already changed the configuration a little, so you get read/write access to the root directory as the anonymous user (user "ftp" or "anonymous", any password).

To figure out how to run it, run "/path/to/bftpd --help"

Note that I still DO NOT recommend this. But it's your device after all
Attached Files
File Type: zip bftpd.zip (35.5 KB, 138 views)
ixtab is offline   Reply With Quote
Old 03-14-2012, 12:52 PM   #10
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by ixtab View Post
If you really really really want ftp access, you can use the attached server. I already changed the configuration a little, so you get read/write access to the root directory as the anonymous user (user "ftp" or "anonymous", any password).
To figure out how to run it, run "/path/to/bftpd --help"
Thanks for this.
when I have some time I'll try to create a launcher item to open and close ftp quickly to use it as safe as possible.
If anyone does this before me please share..

Quote:
Originally Posted by ixtab View Post
Note that I still DO NOT recommend this. But it's your device after all
I'll keep this in mind
thomass is offline   Reply With Quote
Old 03-14-2012, 02:45 PM   #11
JustAMan
Groupie
JustAMan doesn't litterJustAMan doesn't litter
 
JustAMan's Avatar
 
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
Why not use scp (WinSCP client on Windows works great)? If you don't execute "mntroot rw" you shouldn't break your device...
JustAMan is offline   Reply With Quote
Old 03-14-2012, 06:34 PM   #12
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by JustAMan View Post
Why not use scp (WinSCP client on Windows works great)? If you don't execute "mntroot rw" you shouldn't break your device...
Actually I used WinSCP before.

However I have some problem when I try to use it ( sometimes work and some other times not. and I have no idea what's wrong about it)

with a static IP and a shortcut it is also a quick soln.
thomass is offline   Reply With Quote
Old 03-15-2012, 07:11 AM   #13
JustAMan
Groupie
JustAMan doesn't litterJustAMan doesn't litter
 
JustAMan's Avatar
 
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
"Staticness" of IP address depends on either your router configuration (if you use SSH over WiFi) or it would be always static if you use SSH over USB.

BTW, WinSCP works for me any time I use it. It's just Kindle not re-indexing its storage without some nudge (the one I'm aware of is plug it as USB drive and then unplug) if you want to use it to put books there...
JustAMan is offline   Reply With Quote
Old 03-15-2012, 07:40 AM   #14
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,643
Karma: 1928003
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by JustAMan View Post
It's just Kindle not re-indexing its storage without some nudge (the one I'm aware of is plug it as USB drive and then unplug)
There is a refresh command for this.
thomass is offline   Reply With Quote
Old 03-15-2012, 10:31 AM   #15
JustAMan
Groupie
JustAMan doesn't litterJustAMan doesn't litter
 
JustAMan's Avatar
 
Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
I recall reading a thread about it, but I tried some commands that were mentioned there and none worked on my device... Maybe I just tried the wrong ones. Can you point me the right command?
JustAMan 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
Can't Login: Server Message Too Long For Kindle Touch Fmstrat Calibre 9 03-06-2012 02:15 PM
Can't access Calibre Server with Kindle touch ganymede Devices 3 12-14-2011 01:20 PM
Torn: Nook Simple Touch, Kindle Touch, Basic Kindle dblb48 Which one should I buy? 12 12-13-2011 03:34 PM
Calibre Content Server HTTP Authentication - Basic or Digest? Jim Chapman Calibre 6 10-04-2010 01:09 PM
Content server - basic question Viseguy Calibre 2 09-05-2010 12:32 AM


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


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