Solved

FTP setup on windows server 2008 R2

Posted on 2014-04-13
7
1,358 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 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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 show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

789 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