Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 02:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
pure-ftpd-1.0.21 ftp server
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 30 Jun 2006, 00:26    Post subject:  pure-ftpd-1.0.21 ftp server  

I have hada lot of problems in Puppy2 using betaftpd, and from scanning the forums it seems that others have been having problems with it as well. I wanted to have something that was pretty bulletproof and easy, so I compiled pure-ftpd. This was compiled from within OneBone, no special options.

To run type 'pure-ftpd &'
for anonymous ftp just create a system user named 'ftp'
Code:
adduser ftp -h /root/ftp

You could replace '/root/ftp' with any directory you prefer. Pure-ftpd will automatically serve files out of the ftp user's home directory if it exists.
To stop just find the pid and kill it
Code:
#ps | grep pure-ftpd
21124 root        600 S      pure-ftpd
# kill 21124


download:
ftp://texasangel.org/pub/unleashed_packages/pure-ftpd-1.0.21.tar.gz
includes docs in /usr/share/doc
installs as an alien package in Pupget

Nathan

_________________
Bring on the locusts ...

Last edited by Nathan F on Fri 30 Jun 2006, 03:59; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Fri 30 Jun 2006, 00:53    Post subject:  

ftp://192.168.1.100/pub/unleashed_packages/pure-ftpd-1.0.21.tar.gz

That is the adress of your local server. Wink
192.168 is the local network, and can not be externally accessed.

Pro-ftp is nice, tried it in Linux-Mandriva long time ago.

Mark
Back to top
View user's profile Send private message Visit poster's website 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 30 Jun 2006, 03:58    Post subject:  

Apologies, I'll fix the link.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Fri 30 Jun 2006, 22:05    Post subject:  

Hi Nathan - thanks for working on the pure-ftpd server.
I downloaded the pure-ftpd-1.0.21.tar.gz into pup201SM which is bootloaded on my W98 system with pup4dos.

I installed it as an alien pupget package without problems - but when I try to run with 'pure-ftpd &' I get

~# pure-ftpd &
[1] 4870
~#

There is no sign of any 'pure-ftpd' process running

Note my root shell is bash hence the prompt - when I tried to adduser ftp -h /root/ftp it told me user already existed, presumably from betaftpd server which also created /root/ftp folder.
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 30 Jun 2006, 22:13    Post subject:  

Code:
~# pure-ftpd &
[1] 4870
~#

The pid is 4870, your server is running. Check it by going to ftp://localhost/ or in a console 'telnet localhost 21'. It's on my todo list to create a simple control panel but haven't done so yet.

Let me know if any other problems.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Fri 30 Jun 2006, 23:34    Post subject:  

It's looking good Nathan, I've got it running on a pup201sm and I'm able to download folders full of files (with no errors Very Happy) to a pup109ce using Gftp client.

Uploads of files from the 109pupclient is also 100% error free - but at present I can't upload folders or delete anything from the server - I'm going to have to check the docs.

So far I've xferred binaries, MP3s, jpgs, doc, txt files of up to 4Mb size in my first few tests - it's looking very good Very Happy
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Sat 01 Jul 2006, 00:21    Post subject:  

I used man2html to get the docs in shape quick, so have a look in /usr/share/doc/pure-ftpd and it may have an answer for that. Right now I haven't used it enough to know. It would be nice to get that figured out, so if you discover the secret please share.

I have had a lot of other projects going the last few days and only gave this a cursory job at packaging at best. Glad it's working for you for the most part. One other thing, will it let you write over files on the server when doing an upload?

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Sat 01 Jul 2006, 08:55    Post subject:  

'pure-ftpd -M &' allows me to upload folders
and create folders on the server (as anonymous user)

MKD testfolder
257 "testfolder" : The directory was successfully created

but I'm not allowed to overwrite, rename or delete :-

PASV
227 Entering Passive Mode (192,168,0,101,178,91)
STOR /VBOX stuff/bootlog200/bootlog_2.txt
553 Anonymous users may not overwrite existing files

RNFR pci.txt
550 Anonymous users are not allowed to move/rename files

DELE /VBOX stuff/pci.txt
550 Anonymous users can not delete files

still checking the docs ------------
Back to top
View user's profile Send private message 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Wed 05 Jul 2006, 14:42    Post subject:  

addendum - - - - -

I've been using pure-ftpd server with pup201sm now on each of the 4 computers in my LAN for the best part of a week, starting it by
Code:
pure-ftpd -M &

which I put in /root/.xinitrc just ahead of the final
Code:
exec $CURRENTWM


This brings up pure-ftp server at bootup. By the way it stores its process number in /var/run/pure-ftpd.pid
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Wed 05 Jul 2006, 14:51    Post subject:  

It might be better to execute this from rc.local, I think when X exits anything run from .xinitrc will be killed as well. Not sure, I could be wrong.

I'll write a control panel pretty soon, so it's good to know where the pid file is at. Saves me having to search for it. Anyway, that makes stopping the server easier, just do
Code:
kill `cat /var/run/pure-ftpd.pid`


Thanks for the feedback. I'm running it on a couple computers in the lan too, makes transferring files a lot easier.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
r__hughes

Joined: 13 Apr 2006
Posts: 343
Location: Canada

PostPosted: Wed 05 Jul 2006, 16:05    Post subject:  

Nathan said
Quote:
It might be better to execute this from rc.local, I think when X exits anything run from .xinitrc will be killed as well. Not sure, I could be wrong.

I say - OOPS - You're quite correct - I lost the ftp server when I escaped to the prompt-line (Ctl-Alt-B/Space). .Xinitrc is a definite NO-NO.

All is well & connection is kept when the start code is put in /etc/rc.d/rc.local
Back to top
View user's profile Send private message 
Fallen


Joined: 16 Aug 2006
Posts: 9
Location: Hamilton, Oh.

PostPosted: Wed 16 Aug 2006, 16:29    Post subject: running pure-ftpd  

ok i got it installed so whats next? how do i start the ftp server for anyone to access, and how do i add a administrative user so i can upload or delete files from anywhere? please make it simple to understand i am new to linux, but i have a little understanding.
Back to top
View user's profile Send private message Yahoo Messenger 
phpbbviet


Joined: 17 Aug 2006
Posts: 3

PostPosted: Fri 18 Aug 2006, 02:50    Post subject:  

hi!

how i can change port to 2222 or config ?
Back to top
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: Wed 23 Aug 2006, 21:10    Post subject:  

I can't see a valid download URL for pure-ftp above.
Nathan, did you "fix it"?
Would someone please re-post it for me?
Thanks,
Jeffrey.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Wed 23 Aug 2006, 21:19    Post subject:  

attached
pure-ftpd-1.0.21.tar.gz
Description 
gz

 Download 
Filename  pure-ftpd-1.0.21.tar.gz 
Filesize  73.59 KB 
Downloaded  397 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [18 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0770s ][ Queries: 13 (0.0043s) ][ GZIP on ]