Link to home
Start Free TrialLog in
Avatar of eric_ptek
eric_ptek

asked on

FTP and IIS7, cannot get to work.

I've followed every guide out there but cannot get the FTP site to work.

I installed the new IIS7 FTP site application from MS.  Server 2008 64 bit.  I set up the site and everything seems to work.  I can FTP into the server and it logs me in as anonymous.  If I do PWD I get:

257 "/" is the current directory

ok...if I do an ls I get:
150 Opening ASCII mode data connection.

And it hangs....when I go into IIS and the FTP site I created and use the Test settings button I get:
Cannot verify access to path (c:\innetpub\ftp).

The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.

I've tried everything.  I've given ANONYMOUS USERS access to the folder, I've given IIS_IURS access to the folder.

I've triple checked all the anonymous access stuff...the firewall is configured correctly.

I've seen a ton of people post about this but never a resolution.
Avatar of cj_1969
cj_1969
Flag of United States of America image

You are logging in to the server and able to do a pwd ... then nothing surrounding file access is working.
This sounds like you have a permissions issue.

Try configuring the server to access the local drive and make sure that things work locally first.
If this is working, then work on redirecting the directory/site to another location.
As a thought, try leaving the default site/directory on the IIS server and just create a virtual directory within the main site as a link to the other server ... MS has been known to have problems when redirecting the root folder of certain things to remote locations or when granting permissions to root folders.

Let me know how this goes and we'll take it from there.
Avatar of eric_ptek
eric_ptek

ASKER

Understand what your saying, but how do I go about doing that?

When you configure the server, are you speaking of IIS?  I did give the IIS group permission to the folder, and even added NT SERVICE/ANONYMOUS_LOGON access to the folder.

IIS7 is new to me...originally I wanted to just throw a file up on my server for someone to grab and figured I'd configure the FTP server for the task but ran into these issues.  

There was no default directory when setting up the FTP site.  I'm not using the FTP that came with Server 08 DVD, I'm using MS's updated FTP that was released a while ago.

Thanks
Sorry forgot the link, this is the FTP server I'm using:

http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1619
ASKER CERTIFIED SOLUTION
Avatar of cj_1969
cj_1969
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll double check it all, I went through those guides but do not remember the part about authentication which is where my problem most likely is.

Thanks
It looks like anonymous the the only default authentication enabled.  I can see them leaving that with a blind drop configuration as the default ... it is the most secure while still allowing access to the ftp server.
I had anonymous access turned on.

I also know the path is right, you don't type it in, you pick it via a dialog box.

I've tried it with both that folder and another folder off the root of the C: drive called rdshare, no luck.
I think you need to enable some basic authentication other than anonymous, or you need to change the anonymous permissions in the ftp server.  Try following the steps for the admin ID and see if you can get that part to work.  At least then you will know the the server is set up correctly and it is just a matter of tweaking the permissions on the anonymous account to make it do what you want.
Thanks, went through it all again and it worked.
I'm glad you got it working  :)