Groups | Blog | Home
all groups > iis ftp > july 2006 >

iis ftp : How to Setup an FTP server


Doobage20
7/31/2006 2:07:01 PM
I am trying to setup an FTP server on a Windows 2000 server. I can only
login in as anonymous. If I set the login and password to be required, only
the Administrators can login. How do I fix it so you are required to login
in? Also, I would prefer to have the files to be put in a folder on another
computer, preferrably a mac, is this possible. I am presently running into
login issues with this also.

Thanks

Doobage20
8/1/2006 9:05:02 AM
Thanks for the reply. When you are saying that I nned to grant NTFS file
permissions on the home directory, I went to c:\inetpub\ftproot and added the
appropriate user. Then removed the allow anonymous and allow IIS to control
passwords but have arrived at the same problem. Only the the administrator
can log in. What did I do wrong?

Mark

[quoted text, click to view]
Robin Walker [MVP]
8/1/2006 10:07:56 AM
[quoted text, click to view]

You need to set NTFS file permissions on the home FTP directory to permit
non-admin users to use it.

[quoted text, click to view]

You can't use IIS to store files on computers other than the one IIS is
located on (unless you have permanent drive mappings set up to another
networked PC)

--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk

Doobage20
8/1/2006 11:07:02 AM
The error message reads as follows: "could not logon in to the ftp server
with the username and password specified."

Mark

[quoted text, click to view]
Doobage20
8/1/2006 11:11:01 AM
If logging in from the command prompt I get the following error: "530 test2
could not log in. Login failed.

Mark

[quoted text, click to view]
Doobage20
8/1/2006 1:43:01 PM
I have give the test2 end-user full control over in the folloiwing folders;
c:\
c:\inetpub
c:\inetpub\ftproot
c:\inetpub\ftproot\ftpsite

I get the same response as before.

Mark

[quoted text, click to view]
Robin Walker [MVP]
8/1/2006 6:26:42 PM
[quoted text, click to view]

What is the exact error message reported by IIS in the command stream when a
user fails to log in?

--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk

Robin Walker [MVP]
8/1/2006 8:56:31 PM
[quoted text, click to view]

The most likely cause of that is an NTFS permission error on whichever
directory the user is trying to get to as home directory after the logon.

--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk

jeff.nospam NO[at]SPAM zina.com
8/3/2006 10:05:06 PM
On Tue, 1 Aug 2006 13:43:01 -0700, Doobage20
[quoted text, click to view]

Is ftpsite the User's home directory? If you're not using User
Isolation, is ftpsite the user name? If you are using User Isolation
your directory structure is wrong. You want:

c:\inetpub\ftproot\localuser\{UserName}

Jeff
Doobage20
8/4/2006 9:39:02 AM
Thanks for the reply. Yes, c:\inetpub\ftproot\ftpsite is the home directory.
At the moment, only users who are administrators have access. End-user
test2 has been given access to the home directory. Am I supposed to enter
the end-user in somewhere in IIS?Also, I am going by Article-ID: 300662.

Mark
[quoted text, click to view]
Bernard Cheah [MVP]
8/6/2006 12:00:00 AM
I'm not sure what you really looking for, but try read the following.

when user can't login due to error 530. read
Error message in IIS: "530 User <Username> cannot log in. Login failed."
http://support.microsoft.com/?id=200475

and ways to control ftp access
HOW TO: Limit FTP Access in Windows 2000
http://support.microsoft.com/?id=318712
How to create a security-enhanced FTP directory that uses Password
Authentication
http://support.microsoft.com/?id=239120

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

jeff.nospam NO[at]SPAM zina.com
8/6/2006 5:34:50 PM
On Fri, 4 Aug 2006 09:39:02 -0700, Doobage20
[quoted text, click to view]

If you're using a User Isolation scheme in IIS6 FTP then you must use
the proper folder structure. And for non-AD Integrated that is the
structure I posted.

Jeff


[quoted text, click to view]
Doobage20
8/7/2006 1:46:02 PM
Thanks for all your help. One of your article 200475 solved the problem.

Mark

[quoted text, click to view]
Craig Tucker
8/14/2006 1:04:02 AM
Thanks for the information guys.

Test2.rtf

[quoted text, click to view]
AddThis Social Bookmark Button