• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 50
  • Last Modified:

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.
0
gacto
Asked:
gacto
  • 5
  • 5
3 Solutions
 
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now