BetaFTPd question and bug reportsForum: Networking Topic: BetaFTPd question and bug reports started by: bdkives Posted by bdkives on Nov. 05 2004,20:32
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 Posted by AwPhuch on Nov. 05 2004,22:55
ico2 is working on a telnet.dslDoes it show data flowing when you get the file? Brian AwPhuch Posted by bdkives on Nov. 06 2004,06:36
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? Posted by bdkives on Jan. 08 2005,06:42
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. |