 |
NextCode Open Source Software Creation
|
| View previous topic :: View next topic |
| Author |
Message |
EvilCloneVlad
Joined: 01 Apr 2006
Posts: 1
|
| Posted: Sat Apr 01, 2006 6:28 am Post subject: Help with users |
|
|
I added a user and they are able to connect to the FTP server, but when they try to upload files to the server it just says "Transfer Failed" their home is supposed to be a folder in the htdocs folder called fandsacres.
I don't exactly understand what I am supposed to put for the mount point and mount path, a2t's location is "C:\apache2triad\htdocs\" and i want their home to be "C:\apache2triad\htdocs\fandsacres\"
so what would I use for mount point, mount path, allow point, and what to allow?
any help is appreciated, thanks
~EvilCloneVlad |
|
| Back to top |
|
KillerClown
Joined: 14 Apr 2006
Posts: 1
|
| Posted: Fri Apr 14, 2006 4:13 pm Post subject: Re: Help with users |
|
|
EvilCloneVlad wrote: I added a user and they are able to connect to the FTP server, but when they try to upload files to the server it just says "Transfer Failed" their home is supposed to be a folder in the htdocs folder called fandsacres.
I don't exactly understand what I am supposed to put for the mount point and mount path, a2t's location is "C:\apache2triad\htdocs\" and i want their home to be "C:\apache2triad\htdocs\fandsacres\"
so what would I use for mount point, mount path, allow point, and what to allow?
any help is appreciated, thanks
~EvilCloneVlad
I'm fairly new to all of this myself but...
In your case, this should be added at the end of the slimftpd.conf file located in c:\a2t\ftp
Quote: <User "usernamehere">
Password "passwordhere"
Mount / C:\apache2triad\htdocs\fandsacres\
Allow / Admin
</User>
And to try to break it down further:
***Mount / c:\pathtoftpdirectory***
**Mount** is the command telling it where the base folder of this user is.
**/** is the 'name' of that directory, when it's reffered to by the allow/deny commands.
**C:\** is the actual path to that directory on your computer (obviously).
***Allow / Read Write List Admin***
**Allow or Deny**, initial command is the base of which it decides what access each user has to their directory.
**/** is the 'name' of the directory the (allow or deny) command refers to. And is based from your *Mount*. If you wanted to specify individually which folders the user can access you would modify this (See Example 1).
Though I don't that really applies to you specifically, just an explanation.
**Read Write List Admin** These are the controls for the users access to the specified directory 'name'. *Read* would allow them to download (I think). *Write* would allow them to upload. *List* let's them see a list of folders/files in the directory. *Admin* allows them to administrate the ftp directory, ie: delete/add/rename (files/folders).
*****Example 1*****
****Single blocked folder****
Let's say you had a 'private' folder (I'll call it /private just for ease of explanation) in the users ftp directory, that you did not want that user accessing. And you wanted to allow this person to access everything except that folder... your config would change to this..
Quote: <User "usernamehere">
Password "passwordhere"
Mount / C:\pathtoftpdirectory
Allow / Read Write List
Deny /private All
</User>
*****Example 2*****
****Anonymous Access****
So you want anonymous access to your ftp...
Quote: <User "ftpguest">
Mount / C:\pathtoftpdirectory
Allow / Read List
Deny /private All
Allow /uploads Read Write List
</User>
In this one:
***Allow / Read List*** Allows anonymous users to download from the main ftp directory.
***Deny /private All*** Denies all access to the specified private folder, replace /private with the folder name you want to block, ie: if you had a folder (named 'pvt') for hidden files you would use *Deny /pvt All*
***Allow /uploads Read Write List*** This allows anonymous users to see, download, and upload files, to the upload directory.
Hope this helps you out some. I'm sure this is broken down somewhere else on the internet, but I'm too lazy to search. :) |
|
| Back to top |
|
| |
|