Solved

FTP file download problem

Posted on 2011-03-08
3
435 Views
Last Modified: 2012-05-11
Hi,

I'm using an application called curl to download a file and place it in a specific directory. curl is able to pass in the username and password quite easily. The old server where the file was located was running Windows 2003 and whatever version of IIS ships with it. The file URL was, for example:

ftp://ftp.mycompany.co.uk/myfolder/mydownloadfile.xml

The FTP authentication was enabled so that if you hit that file or any location below the main domain it would prompt for a user name and password. This was great as curl could then do that. The problem is that the server was upgraded to Windows 2008 R2 which runs IIS 7.5. Now when you hit that folder you get a 404 error. If you hit the domain, type in the user name and password at the prompt, then double click on myfolder and then click on mydownloadfile.xml it will download it. How can I get IIS 7.5 to prompt with for authentication when you hit the file with a direct URL?

Lee
0
Comment
Question by:Lee Savidge
  • 2
3 Comments
 
LVL 15

Expert Comment

by:pateljitu
ID: 35070189
This is a good article to setup FTP and authentication:

http://learn.iis.net/page.aspx/321/configure-ftp-with-iis-7-manager-authentication/
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 0 total points
ID: 35127393
There was a permissions problem on the folder and the permissions didn't allow direct access to the files. Giving full access to the folder and it's files to the FTP user fixed the issue
0
 
LVL 25

Author Closing Comment

by:Lee Savidge
ID: 35170639
It was a permissions problem.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

816 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

7 Experts available now in Live!

Get 1:1 Help Now