Add a cfsetting tag to increase the request timeout too.

On Jan 27, 2008 9:28 AM, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> Hi, all.
>
> I've managed to get the CFFTP tag to successfully download
> a .zip file of 28 MB from a remote FTP server.
>
> It seems that I needed to set the timeout attribute in the tag itself.
> It defaults to 30 seconds, which is represented in cfdump of the connection 
> var
> as 30000.  So, I assume 30000 is 30000 ms or 30 seconds.
>
> That 30000 was too short for the download, but a setting of 60000 ms or 90000 
> ms
> was more than enough, even though the download took longer than 60 or 90 
> secs. (?)
>
> However, a new error occurs right after the download finishes.
>
> When the next cfftp tag is run to close the connection, an error occurs 
> stating:
> "The request has exceeded the allowable time limit Tag: cfftp"
>
> Therefore, my cfmail tag does fire to send me a "successful download" message.
>
> Seems I'm stuck between a rock and a hard place.  Make the timeout long enough
> to get the full download and cause a "exceeded the allowable time limit" or
> have too short a time for the download, which causes a "I/O Exception while 
> reading"
> error.
>
> Clues?  Hints?  Suggestions?
>
> Thanks,
>
> Rick
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297538
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to