[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

FTP file download problem

Posted on 2011-03-08
3
Medium Priority
?
440 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
[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
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
What You Need to Know when Searching for a Webhost Provider
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

656 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