>- see footer for list info -<
Rich, I'm repeating this note in case you missed it. You've replied to
others since I sent it last night.

/charlie


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of charlie arehart
Sent: Wednesday, May 06, 2009 4:13 PM
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] CF8 and CFFTP timeouts

>- see footer for list info -<
Hey Rich, I see that there's an FTP-related fix in the Cumulative Hotfix 2
for 8.01. It's also not clear from the brief phrase about it whether it will
apply to your challenge, but it's worth exploring.

http://kb2.adobe.com/cps/403/kb403781.html

Of course, if you're still on 8, you'd need to upgrade first to 8.01. It and
this CHF are all free, of course.

I'll note as well that this specific hotfix is *not* mentioned on the page
of "ColdFusion Hot Fixes (ColdFusion 8 and later)", at
http://www.adobe.com/go/kb402604, if you may have looked there. It's listed
only inside this CHF 2 (the first link on that page.)

Just can't tell if you're saying you'd seen/applied that. 

/charlie


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Rich Wild
Sent: Wednesday, May 06, 2009 8:37 AM
To: Coldfusion Development
Subject: Re: [CF-Dev] CF8 and CFFTP timeouts

>- see footer for list info -<
Yea, I tried that, but thank you anyway.

I think it might be related to keepalives. In the code, the cached FTP
connection is initialised at the start of the script so that it can delete
any remote XML files that may exist before uploading a new one.

The script then goes about its business, creating the new XML, and then the
PUT operation is executed to upload the new XML. Like I mentioned, this
worked fine in CF7, and the script ran slower in CF7 than CF8.

However, in CF8, it looks like the connection has died by the time it gets
to the PUT operation. I confirmed this by moving the cached connection
initialisation closer to the PUT operation, so there was no middle script
actions to introduce any delay between creating the connection and the PUT
operation. What do you know, the script now works fine and the FTP PUT
doesn't report in a timeout operation (surely if the connection had died the
error should be different).

So what's going on here? The cached connection initialisation had by no
means hit its timeout value (set to "99999", and there's only about a 20
second gap in the actual start and end of this script, when it was
erroring), so surely CF server is sending keepalives to the remote server to
keep it open? CF7 must do this if it was working fine...

Very confused. At least I have an answer, but I'm confused as to this
seemingly backwards step between 7 and 8.

Rich


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to