Reputation: 4410
I have a FTP website in IIS 8 that I want to expose to public (non-authenticated visitors) that is configured using the following settings from here:
Whenever I try to connect to the website externally using the ftp://mysite.com address, I am always prompted with a dialog that says:
Authentication Required - The server ftp://mysite.com:21 requires a username and password
I've tried every credentials (even for the users that have read permissions to folder that the website is pointing to) and still nothing. Basic Authentication
is disabled for the website.
How can I configure the FTP site in order to allow external read access for any visitor?
PS: it is okay even with a solution that implies Basic Authentication
in place since I can provide the users with an account on the server for my purposes, but even with Basic Authentication
enabled and providing the correct credentials, it failed to authenticate.
Regards, Ionut
Upvotes: 8
Views: 36349
Reputation: 19
Changing NTFS permission by adding everyone to the folder with all permission solved the issue for me.
Upvotes: 0
Reputation: 339
Four things to check:
FTP User Isolation->Do not isolate. Start in: FTP root directory
Add the "IUSR" account to the root directory NTFS Security Permissions with Read, Read and Execute, and List Folder Contents.
Upvotes: 10
Reputation: 30463
I had this issue when I'd used a mapped drive path (T:\ in my case) as the 'Physical path' for my FTP site.
Changing to using the full drive path (D:\etc\etc) fixed it:
As I understand it that issue is caused by how Windows marries up permissions between a mapped directory and the actual physical directory it's mapping to.
Upvotes: 0
Reputation: 2815
You must add Anonymous Rule access.
Enable & add new rule for Anonymous access: FTP Authorization Rules > Add Allow Rule > All Anonymous Users
Upvotes: 1
Reputation: 59
I've had the same problem as you. I've solved it by giving NTFS default read permission to "Everyone" on the desired folder.
Upvotes: 4
Reputation: 166
Below is a pretty thorough write up on enabling Public/Anonymous FTP in Windows Server 2008 through 2012R2. I would double check your settings in the FTP Authentication section.
Upvotes: 2