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

curl-and-php

Re: PDF links

From: Colleen R. Dick <platypus_at_proaxis.com>
Date: Thu, 03 Jan 2008 15:09:11 -0800

I didn't see him indicate that he cares about analyzing whats in the
PDF, he just wants the bot to be able to download it to the host that
its running on.

I could say the same about csv files. Of course I'm having trouble
getting the app to spit them out in the first place from curl. It calls
a javascript and I have to simulate everything it does.

Ralph, have you tried? What code have you tried and what is the result?

Ralph Seward wrote:
> 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. Get it now!
> <http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_122007>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

Received on 2008-01-04