Solved

FTP setup on windows server 2008 R2

Posted on 2014-04-13
7
1,376 Views
Last Modified: 2014-04-15
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
Comment
Question by:FalconTwo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 39997688
Do you have a hostname configured for the ftp site in IIS ?

If so try logging  in with ftptest.net |ftpuser1
0
 

Author Comment

by:FalconTwo
ID: 39997779
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
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 39997786
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

 

Author Comment

by:FalconTwo
ID: 40000010
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
 
LVL 29

Expert Comment

by:becraig
ID: 40000047
What method are you using for exploring FTP  ?


Also can you check the windows permission (NTFS) on the folder/files in question.
0
 

Author Comment

by:FalconTwo
ID: 40001871
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
 
LVL 29

Expert Comment

by:becraig
ID: 40001877
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

Featured Post

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question