Have you tried putting an exclusive cflock around the cfhttp call?

I've run up against a similar problem with CFPOP and moving attachments
around. Locking the file writes for the attachments fixed it in that
case.

That was on CFMX on Win XP btw.

Spike

Stephen Milligan
Team Macromedia - ColdFusion
Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content
Management'
http://spikefu.blogspot.com

> -----Original Message-----
> From: Steve Martin [mailto:[EMAIL PROTECTED]] 
> Sent: 13 December 2002 14:30
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] CFMX, Linux & CFHTTP
> 
> 
> I was wondering if anyone can confirm/refute the following 
> potential bug with CFHTTP in CFMX running on RH7.3:
> 
> When using cfloop to loop over cfhttp and requesting a 
> different page and then saving the content to a file, it 
> would appear that all iterations of the loop > 1 save the 
> file with the same filename as the content that was saved in 
> the first iteration.
> 
> e.g.
> 
> <cfloop from=1 to=5 index=i>
> 
>       <cfhttp method=get
>               url="http://www.whatever.com/file#i#.html";
>               path="/somepath/">
> 
> </cfloop>
> 
> CFHTTP is supposed to use the filename of the URL in a get 
> operation, which it does for the first call. Like I said, all 
> subsequent calls use the filename from the first call.
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to