Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1467
  • Last Modified:

FTP setup on windows server 2008 R2

All I am trying to setup FTP services for my company. I had this working fine until today it's not working. So I decided to start form scratch and still no success

I would like outside vendors to FTP to an the FTP server and drop their files in different directories specific to the vendors.

I installed the FTP services in IIS 7

Setup the FTP User isolation and test and got the following
Status: Resolving address of my public IP address
Status: Connecting to Public IP
Status: Connected, waiting for welcome message
Reply: 220 Microsoft FTP Service
Command: CLNT http://ftptest.net on behalf of 76.111.228.168
Reply: 500 'CLNT http://ftptest.net on behalf of 76.111.228.168': command not understood.
Command: USER ftpuser1
Reply: 530 Valid hostname is expected.
Error: Login refused by server

What am I doing wrong. The firewall rule is correct
0
FalconTwo
Asked:
FalconTwo
  • 4
  • 3
1 Solution
 
becraigCommented:
Do you have a hostname configured for the ftp site in IIS ?

If so try logging  in with ftptest.net |ftpuser1
0
 
FalconTwoAuthor Commented:
HI I got it working, the only different thing I did was run the command

F:\>ICACLS f:\inetpub\ftproot /Grant IUSR:R /T
processed file: f:\inetpub\ftproot
Successfully processed 1 files; Failed processing 0 files

Now I got the vendors account setup and was able to test successfully

Any idea how I can get the FTPusers to see only their specific folders.
I have an allow for every specific user and that work but I want every FTP user to go straight to their respective folder and don't see the other folders
0
 
becraigCommented:
Look at the instructions here:


http://www.iis.net/learn/publish/using-the-ftp-service/configuring-ftp-user-isolation-in-iis-7
Section
Examining the New FTP User Isolation Settings

The short answer is create a virtual directory for each  new user.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
FalconTwoAuthor Commented:
The FTP Isolation setting is not working. So I am forgetting about that for now

Any ideas why I can't delete a file in FTP

550 Access is denied when attempting to delete the file in an FTP session
0
 
becraigCommented:
What method are you using for exploring FTP  ?


Also can you check the windows permission (NTFS) on the folder/files in question.
0
 
FalconTwoAuthor Commented:
Hello All I got it all working but not without the isolation. I was getting logon issues when I applied User Isolation.

The issue with deleting the files was a non-issue. I moved a file off of my desktop into the ftp folder and was trying to delete the file in the FTP session and was getting access denied. However when I PUT the file using FTP, I was able to delete the file no problem. I believe when I copy the file from my windows folder, the file was copied with windows attributes and FTP was unable to delete the file.

Needless to say, all is now working
0
 
becraigCommented:
yup it would be NTFS permissions issues since file attributes were probably inherited.

It would be a good idea to get isolation working to be honest, but that is entirely up to you.
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

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

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