Solved

FTP setup on windows server 2008 R2

Posted on 2014-04-13
7
1,398 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Suggested Courses

623 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