FTP Server Access Denied

Ok now that I have my shoe running in iis I am trying to setup FTP access but I cannot connect. Here is what I have done so fast:

1. Chose new site in IIS and selected "Add FTP Publishing"
2. Chose IP address assigned to site in IIS
3. Authentication: basic
4. Authorization: Allow access to: Specified roles or user groups (I created an FTP user group and added that group) and provided read and write access

I have tried to access the FTP server boot thru local command prompt and via FTP client but am getting errors on both. Local command prompt gives 530 error and FTP client times out during authentication.

This is the first IIS configuration I have done in many years so I feel sure I am overlooking something simple but I cannot figure out what it may be.
gactoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Natty GregIn Theory (IT)Commented:
see if its authorized through ad
0
JohnBusiness Consultant (Owner)Commented:
Also see if your FTP client is set for active when it perhaps should be set for passive.
0
gactoAuthor Commented:
nattygreg - I don't understand what you are suggesting. What am I checking in ad? I have set all the user accounts and added then to the FTP group which I added authorization for in the FTP settings.

John - I had the FTP client set to default but I switched that to passive. Now that I have switched to passive I am getting the same error message as I was getting thru the local machine command prompt, "530 Valid hostname is expected".
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

JohnBusiness Consultant (Owner)Commented:
Do you have a permission problem at the site?  That is, are the FTP users authorized to use the folders and write to them?
0
gactoAuthor Commented:
I have permissions set on the directory to allow full read and write access to the FTP group. I just rechecked to be sure, and the permissions are there.

This is the same directory I have set for the web site I set up in IIS. I chose to "Add FTP Publishing" to that site rather than set up a new site just for FTP access. I don't remember this being an option from years ago when I was configuring web servers, but this seemed like the most straightforward approach. Could that be part of my problem or did I do that step correct?
0
JohnBusiness Consultant (Owner)Commented:
I cannot answer the latter point as I do not know. Can you try a new, test FTP site to see if that is the reason.
0
gactoAuthor Commented:
Ok part of the problem has been solved. I just found this blog and it has resolved the issue. Basically what it suggested I do was pass my username as <hostname>|<username> instead of just <username>. Once I applied that in my FTP client I am able to access the FTP site with no problem.

https://blog.blackseals.net/2014/02/21/microsoft-ftps-server-530-valid-hostname-is-expected/

However now that I am connected to the site I cannot download any files from the server. I can push files up, but I cannot pull them down. I will start troubleshooting this issue and see if I can figure it out. I am not sure when I could transfer files in one direction but not another.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JohnBusiness Consultant (Owner)Commented:
That would suggest firewall issues as a possibility. Make sure the firewall at each end allows the range of IP addresses you use and the FTP site uses.
0
gactoAuthor Commented:
Local permissions where I had the FTP client installed was the culprit. I have cleared that up and can now push and pull files as expected. Thanks for the help on both of the masters.
0
JohnBusiness Consultant (Owner)Commented:
Thanks for the update and I was happy to help.
0
gactoAuthor Commented:
The primary solution was to pass <hostname>|<username>, but it was John's suggestion to set my FTP client to passive that lead me to this conclusion.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.