cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

PDF links

From: Ralph Seward <rj_seward_at_hotmail.com>
Date: Thu, 3 Jan 2008 19:24:19 +0000

Dear Folks,

I am currently developing a web bot using php/curl and I have a question to throw out. Many times I will come across a link to a pdf file that appears just like a link to a web page. For example, http://www.somesite/healthcenter/ImmunizationForm.pdf. Click on this link, and in Firefox a popup-like window will appear asking "What should Firefox do with this file?" with the options of Open or Save to Disk.
Now, is it possible to follow such a link through curl and have the pdf file saved to disk? Has anyone ever succeeded in doing anything with a pdf through curl?
Thanks in advance.
Ralph J Seward

_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-01-04