I'm using cfhttp to get a URL like "https://domain.com/file.aspx?q=[UUID]";
where file.aspx is returning headers like:

Content-Disposition: attachment; filename="file.zip"

Of course, when I paste that URL into a browser, I'm prompted for where I'd
like to save file.zip but when I do this:

<cfhttp url="https://domain.com/file.aspx?q=[UUID]"; file="file.zip"
getasbinary="auto" path="#ExpandPath('./')#" method="get">

...nothing(?) happens.  I think maybe cfhttp would only work like this if
URL was like "https://domain.com/file.zip";  Anyone know how I can use cfhttp
to fetch an attachment like this and save it to disk?

-- 
John Bliss
IT Professional
LinkedIn: http://www.linkedin.com/in/jbliss


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325152
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=<:emailid:>.<:userid:>.<:listid:>

Reply via email to