LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-30-2008, 02:00 PM   #1
yah0m
Member
 
Registered: Jul 2008
Posts: 38

Rep: Reputation: 15
ProFTPD and Anonymous access *confused*


So basically, I have this 2.5GB file that is in a .gz form and cant be download via the HTTP protocol. So I tried to setup a Anonymous FTP account but im confused on how to do it.

what i have so far:

<Anonymous ~domain.com/html/downloads/folder>
User ftp
Group ftp
UserAlias annyftp folderftp
MaxClients 10
RequireValidShell off
DisplayLogin welcome.msg
AllowOverwrite off
PathAllowFilter "^[-A-Za-z0-9._+]*$"
PathDenyFilter "(^|/)[-.]"
AllowFilter "^[a-zA-Z0-9 .,/_+\-]*$"
Umask 0227 0227
<Directory *>
<Limit RMD DELE SITE_CHMOD RNFR CWD STOR>
DenyAll
</Limit>
</Directory>
</Anonymous>

then for accessing the file to download, i do:
ftp://FTPUSER:FTPPASS@domain.org/

but so far i've had no luck.
 
Old 11-01-2008, 10:59 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
do you have a user "domain.com" the ~ in front of that path indicates to proftpd that it's the home directory of the first element in the path. For example if you had:

<Anonymous ~ftp/files>

It would look up the user ftp in /etc/passwd and see where user ftp's home directory was and then append /files on to the end. So if user ftp had /home/ftp for its home directory then the path would be /home/ftp/files
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftpd problem with anonymous access on debian Kaste Linux - Server 3 07-15-2008 11:02 AM
How do I set up anonymous access in ProFTPD? shingalated Linux - Networking 1 08-03-2006 06:04 PM
How do I set up anonymous access in ProFTPD? shingalated Linux - Newbie 1 08-03-2006 03:32 PM
Anonymous access ftp using Proftpd mkabia Linux - Networking 2 12-11-2004 04:18 AM
Anonymous ProFTPd access tisource Linux - Networking 2 03-04-2003 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration