Just out of curiosity... how could you pull arbitrary non-html files
(.jpg, .gif, .pdf, etc.) from a remote http server and save those files
locally?  I know there are umpteen crawlers and offline browsers that can
do exactly that, but is there a way to do it from CF?

Jim


-----Original Message-----
From: Dave Watts <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, March 26, 2000 1:26 PM
Subject: RE: cfhttp for .cfm


>> We've got a site where we can GET .htm pages with CFHTTP, but
>> when we want to post to an .htm, it doesn't work. CFHTTP can
>> only post to .cfm.  Suggestions?
>
>What exactly happens, other than "it doesn't work"?
>
>> Also, when CFHTTP brings a page of .htm to our server, can a
>> single CFHTTP tag get all the html text AND the images, or is a
>> separate CFHTTP tag required to "hit"  one by one on each image
>> listed in the .html?
>
>CFHTTP executes one HTTP request. In general, rather than retrieving all
the
>images referenced by a remote page, you'd simply parse the remote page
after
>you've retrieved it with CFHTTP, then reference all the images on the
remote
>server. The RESOLVEURL parameter of CFHTTP does this automatically for
you.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to