Active Topics

 



Notices


Reply
Thread Tools
Posts: 20 | Thanked: 9 times | Joined on Dec 2009
#1
For people that can't be bothered to keep proftpd running all the time and are paranoid enough to disable password authentication in the OpenSSH server, but still would want to send some files to/from the N900 outside their caves: Dump FTP Server.

How it's different from proftpd? You can start it from the menu, generate one-time password, send files, then just close it like any other application. Quick, simple, doesn't leave any holes in your phone security.

Caveats:
- deb package needs to be installed by hand for now. It will be in extras in future, hopefully.
- QT 4.6 is required, which is only in extras-devel, so if you're not comfortable with enabling it, even for a short period, don't bother.
- There are bugs. For example files with spaces are handled incorrectly.
- It's ported from Symbian, and not yet fine-tuned for N900. Transfer speed is comparable to copying over ssh, but doesn't hog the CPU.
 

The Following 4 Users Say Thank You to wolf For This Useful Post:
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#2
Thanks. Another very simple and secure solution is woof.py :

http://talk.maemo.org/showthread.php?p=389126

Only for those not afraid of xterm, though :-)
__________________
maemo blog
 
bandora's Avatar
Posts: 1,338 | Thanked: 1,055 times | Joined on Oct 2009 @ California, USA / Jordan
#3
There are a couple of servers out there.. but I haven't seen any FTP client for the N900! >

But this is nice too.. and it uses QT..
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2009
#4
Hey wolf,

this seems to be quite enough ftp for most people but i'm having some trouble with it. It installs fine and even starts fine and I can connect to it with filezilla but it doesn't list any files on the client. Shows the location als '/ ' but no files are listed.
At this point the gui program on the n900 hangs. It shows that the client is connected though.

Any pointers would be greatly appreciated.

Added: This happens regardless of anonymous or token login and the commandline shows no errors.

regards

tom

Last edited by rdd; 2009-12-21 at 12:28.
 
Posts: 20 | Thanked: 9 times | Joined on Dec 2009
#5
Parts of FTP protocol are badly documented and interpretation of required feature set varies wildly between FTP clients. The one application I find working flawlessly is Total Commander. I will, however, try out Filezilla and see if I can make some fixes to make it work.

edit: My bad, binding to all network interfaces broke passive mode.

Last edited by wolf; 2009-12-21 at 18:02.
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2009
#6
thanks for the quick reply. only run linux on my other machines so total commander is not an option right now. i have tried fireftp to the same result. i'll try some other ftp clients tonight. what directory does dftpd default to?

filezilla working would be cool though as it is available for windows, mac and linux. plus it's a pretty solid tool.

will keep you updated. thanks again for this nifty program.

regards
tom
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#7
I am curious why this was not developed with the version of QT that comes with the n900.
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2009
#8
SUCCESS! (partly)
Forcing active mode in filezilla makes it connect correctly.

pulling files from the device works at around 600 -700 kb/s. cpu usage on the n900 quietens down after a few seconds, so that doesn't seem to be the limiting factor.

pushing onto the n900 only happens at 60 kb/s.

so it works. file/directory names with spaces are a dealbreaker so far. and the speeds need improving. but it works
 
Posts: 20 | Thanked: 9 times | Joined on Dec 2009
#9
New version is up: http://team.pld-linux.org/~wolf/dftpd_0.1.3_armel.deb

Changelog:
- Passive mode should now be working. Because of the used workaround only WIFI connections are supported.
- Bigger icon in application manager.
- Upload speed should now be at par with download speed.
 
Posts: 4 | Thanked: 1 time | Joined on Dec 2009
#10
Hey wolf,

thanks for the fixes. installed the new version but now dftpd freezes. It starts up, takes a long time to try port 21, then tries 2121 and freezes. had to kill it to continue. tried running it as root with the same result. any ideas?

regards

tom
 

The Following User Says Thank You to rdd For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:26.