Ben is the man, alright, and in fact he points out something that trumps my
observation. While he concludes that he too needed the CFSETTING
REQUESTTIMEOUT, I notice that he points out that the CFFTP has its own
TIMEOUT and a big surprise (to me) is that it has a DEFAULT OF 30 SECONDS.
:-(

So where he was changing that and not the request timeout, if Amar followed
my advice and set only the requesttimeout, I imagine he'd still get a
different timeout from the CFFTP operations. I don't know that any of the
other CF tag that supports a TIMEOUT (CFHTTP, CFMAIL, CFQUERY, etc.) has a
default timeout. That's a real surprise to hear. I did verify it in the CF
docs. I see now that at least 2 others do: CFLDAP and CFPOP, each with a
default of 60 secs. 

You truly do learn something every day. :-) Thanks for offering that link,
Cody.


BTW, Amar, if you do need to increase that default of 30 seconds, note that
(as Ben indicates in his entry), you need to put that NOT ON THE CFFTP
TYPE="putfile" but instead on the CFFTP ACTION="open".


/charlie

 

From: [email protected] [mailto:[email protected]] On Behalf Of Cody Wehunt
Sent: Wednesday, March 17, 2010 4:38 PM
To: [email protected]
Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01

 

Not sure if you have seen this or if it has been mentioned but may help you
out:

 

http://www.bennadel.com/blog/1337-My-First-ColdFusion-8-CFFTP-Experience-Roc
ky-But-Triumphant.htm

 

From: [email protected] [mailto:[email protected]] On Behalf Of Charlie Arehart
Sent: Wednesday, March 17, 2010 4:16 PM
To: [email protected]
Subject: RE: [ACFUG Discuss] CFFTP putfile timeout error on CF8.01

 

Amar, that error is indicating that the operation has exceeded the page
execution timeout set in the CF Admin. You can override it on a page basis
using CFSETTING REQUESTTIMEOUT="n", where n is in seconds. You can place
that in a page, or in an application.cfm/cfc to affect all pages in that
application. If you do have that already set in the application.cfm, you can
set it on the page to override the application one as well.

If you're saying that you have set that and it's STILL exceeding that
timeout, or you made it a very high number (like an hour) and it STILL times
out, then that begs a different question as to why the FTP operation is
taking so long. As you guys have noted, perhaps there are some hotfixes
related to that. 

But first step seems to rule out this timeout setting being your issue.

 

/charlie 




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to