Skip to main content
Inspiring
January 14, 2011
Answered

CSV File and Download Programatically?

  • January 14, 2011
  • 1 reply
  • 769 views

Hi,

A vendor is making a csv file available for me to download but as of now I go to a URL with a .php or .aspx extension (can't remember), and it prompts me to save the csv file, then I open it etc.  Is there a way to somehow script this out?  Is there a way to open up the csv file somehow or script it so it gets downloaded somewhere, then programatically open it ?  I'm not hittin the csv file directly though unfortunately, it's just that way.

There is a php page or aspx page that is generating this csv so I get the file download box when I do it through my browser but I want to somehow get the data out programatically..


I'm using CF9.

-Westside

This topic has been closed for replies.
Correct answer -__cfSearching__-

You can download the file to your server with cfhttp.

What do you mean by "open it"?

1 reply

-__cfSearching__-Correct answer
Inspiring
January 14, 2011

You can download the file to your server with cfhttp.

What do you mean by "open it"?

WestSideAuthor
Inspiring
January 15, 2011

Yes, turns out I can download it using <cfhttp> as you've said..  Works perfect...


Thanks.