>- see footer for list info -< Unfortunately not, although the odd thing is that when I connect to the remote server manually, I stay connected indefinitely (sending keepalives). Presumably CF8 isn't doing this.
On Thu, May 7, 2009 at 12:29 PM, Snake <[email protected]> wrote: > >- see footer for list info -< > Rich, > > Do you have access to the FTP server logs as this could possibly tell you > whether the connection is being dropped or not. > > Russ > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Rich Wild > Sent: 06 May 2009 13:37 > 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 > > On Wed, May 6, 2009 at 1:27 PM, Michael Traher > <[email protected]>wrote: > > > >- see footer for list info -< > > The default timeout on the cfftp command is 30 seconds - I know it > > shouldn't > > have changed but might be worth playing with that attribute? > > > > On Wed, May 6, 2009 at 12:25 PM, Rich Wild <[email protected]> wrote: > > > > > >- see footer for list info -< > > > Right, I'm having a very unhappy time. > > > > > > I've got a legacy CF7 app that I've placed on a CF8 server. All works > > fine, > > > except it performs some FTP operations to export XML files etc. > > > > > > These FTP scheduled tasks worked flawlessly on CF7. The code hasn't > > > changed. > > > > > > Everytime I try to FTP PUT a file to a remote server, I get the > > following: > > > > > > An error occurred during the FTP putfile operation. > > > Error: putfile operation exceeded timeout. > > > > > > listDir, etc all works without error. There's nothing wrong with the > > remote > > > FTP account, because I can FTP the file over manually just fine. Its a > > > 390Kb > > > file, nothing too strenuous. > > > > > > So why, oh why is CF giving me this beef? > > > > > > I wondered about the timeouts on the template running - so I took a > look > > > and > > > there's a <cfsetting requestimout="99999"> (its a potentially long > > script) > > > - > > > now that can't be tripping as the script is currently only taking 25 > > > seconds > > > to build this exportfile. > > > > > > There's a similar timeout on the cached FTP connection also, so that > > hasn't > > > hit its limit either. > > > > > > And that's about it. > > > > > > Mysterious, and teeth-gnashingly boring. > > > > > > Any clues, anyone? > > > > > > ta > > > 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 > > -< > > > > > > > > > > > -- > > Mike T > > Blog http://www.socialpoints.com/ > > _______________________________________________ > > > > 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 -< > > > > _______________________________________________ > > 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 -<
