Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: BetaFTPd question and bug reports, ftp server< Next Oldest | Next Newest >
bdkives Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Nov. 05 2004,20:32 QUOTE

I am running 0.8.3, and I love it.  I am just having a few minor problems.

FTP Question
I need to FTP some files off of my NTFS hard drive (Yes, for this project it has to be FTP).
I can FTP from the local dsl home directory, but I can't ftp from /mnt/hda1. It reports that the transfer is complete and the transferred file size looks correct, but when you exit ftp, the transferred file size is always 0 bytes.
I have used Windows, Unix, Linux and even DSL's ftp clients, so I don't think it's a client problem.
I have been playing with permissions and hosts.allow and .deny and .rights files. If these permissions are set wrong, it won't let me either ls or get. I have tried setting the dsl home dir to /mnt/hda1. I have tried to set up a link in /home/dsl ( ln -s /mnt/hda1 /home/dsl/c ). Everything looks good while I'm in the ftp client (cd and ls and get looks like they work correctly). When I get out, I have all of these zero byte sized files.
As a temporary fix, I can copy files from /mnt/hda1 to /home/dsl on the DSL box and then ftp them over, but this is a clumsy way to do things. I must be missing something simple.


Possible Bug Report 1
I noticed that when you mount the hda1 and do a "ls -l", the mount point and all of the files past the mount point are set for dsl:500. I looked in /etc/fstab and saw gid=500 for hda1. I changed it to gid=50, and remounted. "ls -l" now shows hda1 as dsl:staff.
Did someone mistype 500 instead of 50, or is there a reason for a gid=500?
It didn't fix my FTPd problem. I was just curious if it was correct.


Possible Bug Report 2
passwd dsl
or
passwd root
doesn't work. I forgot the exact error, but it looks like some of the /etc/passwd- and shadow files are still on the read only CD and can't be updated.
A quick fix is to click on System >> AddUsers, and add any new user. After that you can change all of the passwords.

One last thing
Is there a telnet server in DSL? I must be not looking in the right place. Even the old floppy Linux distributions had a tiny telnet server. Time to learn myDSL.

Thanks for your help.
bdkives
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 05 2004,22:55 QUOTE

ico2 is working on a telnet.dsl

Does it show data flowing when you get the file?

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
bdkives Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Nov. 06 2004,06:36 QUOTE

Quote
Does it show data flowing when you get the file?

Brian
AwPhuch


Yes, there is some LAN activity, but only briefly.
------

I just downloaded Feather Linux. They Also use BetaFTPd, but some of their permissions are set differently for BetaFTPd and for mounting /mnt/hda1 than DSL. But It still has the same problem. Then I noticed something.

ftp> get filetool.lst
200 PORT command OK.
150 Opening BINARY mode data connection for 'filetool.lst' (157 bytes)
226 Transfer complete.
ftp: 157 bytes received in 0.00Seconds 157000.00Kbytes/sec.
ftp> cd /mnt/hda1
250 CWD successful.
ftp> get pagefile.sys
200 PORT command OK.
150 Opening BINARY mode data connection for 'pagefile.sys' (402653184 bytes)
226 Transfer complete.
ftp>

There is no "bytes received in 0.00Seconds" line.

Any ideas?
???
Back to top
Profile PM 
bdkives Offline





Group: Members
Posts: 7
Joined: Nov. 2004
Posted: Jan. 08 2005,06:42 QUOTE

I finally found the problem.

See:
How to get files from the hard drive using the FTP or Web server.
and
FTP bug report
for more information.
Back to top
Profile PM 
3 replies since Nov. 05 2004,20:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: BetaFTPd question and bug reports

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code