Solved

FTP setup on windows server 2008 R2

Posted on 2014-04-13
7
1,323 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
  • 4
  • 3
7 Comments
 
LVL 28

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 28

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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 28

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 28

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now