Skip to Content.
Sympa Menu

baslinux - Re: [BL] Ftpd from asmutils ported and other programs added

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Ftpd from asmutils ported and other programs added
  • Date: Tue, 09 Oct 2007 22:36:38 +0200


Thanks for making this work. ftpd that I compiled with uclibc-nasm also did not work on kernel 2.4.31.
However, it works under a-linux distribution. I do not know why it is specific.
You are referring to the flag column in ftpd.conf which you included in ftpd.tgz. You gave samples of three types of users:
anonymous (no password needed) who can only download (0)
user with password passwd who can do everything
and konst who can do all but upload.

So I could use ftpd.cfg as is to let people download from my computer anonymously, but I had better remark out or change user/passwd if I don't want random users to do things on my computer.

For each user you can have parameter flag which can be regarded as
twobit number, which gives us the combinations:
0 - Can only download
1 - Can upload and download
2 - Can modify existing files, download, create directories but not upload
3 - can do everything


I read => right to as referring to a right arrow ;=)

What is 'OR'?
Binary dijunction operator like "|" in C language.

APPE, CHMOD, DELE, MKD, RMD, RNFR, RNTO is 'everything'?

No, it is appending to file, changing right, deleting, creating directory, renaming from and renaming to.

FTP protocol uses ASCII commands which are sent to server after you entered command in ftp client. For example when you type get myfile in ftp client or click to file in web browser, it is converted to
RETR myfile
and sent to the server.
It would be much clearer if you replaced flag 'OR' ... with the longer explanation you gave above, maybe shortening the first two lines to
'flag:'

Well I did not write this comment, this was in original configuration file.


At the end of configuration file place three letters: E, O, and F

They are already there - it might be clearer to write as the last line:
EOF ; do not remove this line

If that works, why not :-)

People have been asking for a small ftp program for years now, rather than just ftpput and wget. (Is there any way to browse files with even the full wget?).
Only for those sites who published ls-lR file, with a lot of script magic :-)

Thanks, Samir

Now how do I set up an XP-linux network to use this working ftpd? I ran some network setup wizard in XP (someone gave us a working 333MHz XP computer to practice on) and I now have an XP IP number. I ran ifconfig in linux and plugged a crossover cable between the two, but cannot ping between them. I have almost no experience with XP but would like to be able to transfer files to and from our linux laptop computer directly.


Try to stop XP firewall (somewhere in control panel) which is started by default. And type

ipconfig

inside command prompt to discover IP address on Windows XP if it is in same network with Linux.

And XP has ftp command in command line too!

Samir







Archive powered by MHonArc 2.6.24.

Top of Page