Upon further test the same failure occured without CFFLUSH in the script. No errors appear in the CF or JRun logs to show anything out of the ordinary.
-----Original Message----- From: Stacy Young [mailto:Stacy.Young@;sfcommerce.com] Sent: Sunday, October 27, 2002 12:16 PM To: CF-Talk Subject: (Bug Report) RE: Anyone had weird results on MX with CFFTP? I will also post this to the MM site... The following test script I was working on intermittently causes a complete server failure....at least from a networking perspective. Unfortunately I do not have physical access to the machine at the moment. (support tech on site performing cold restarts for me). It seems *sometimes* the script I'm including disables my server. I'm running Win2k Server with SP2 and MSSQL2k. CFMX updater has also been applied. The machine in question (including cfmx) has been running flawlessly for months and there has been no environment changes. I have not yet been able to duplicate the symptoms upon removing the CFFLUSH...which doesn't mean all that much but perhaps it's a starting point. The code sample itself may not be stellar but I wouldn't expect it to bring the machine to it's knees. Here's the script: <cfflush interval="100"> <cfftp action="open" server="xx.xx.xxx.xx" port="20280" stoponerror="no" username="myusername" password="mypassword" retrycount="3" timeout="15" connection="myConnection"> Connected...<br> <cftry> <cfftp action="listdir" stoponerror="no" passive="yes" name="hello" directory="E:/ftproot" connection="myConnection"> <cfcatch> <cfdump var="#cfcatch#"> <cfftp action="close" connection="myConnection"> <cfabort> </cfcatch> </cftry> Retrieving Directory Listings...<br> <cfoutput query="hello"> <cfset myDir = hello.name> <cftry> <cfftp action="listdir" passive="yes" name="blah" directory="E:/ftproot/#hello.name#" connection="myConnection"> <cfloop query="blah"> <cfif findNoCase( url.aString , blah.name )> <strong>Found: /#myDir#/</strong> #blah.name#<br> </cfif> </cfloop> <cfcatch> <cfftp action="close" connection="myConnection"> Error! #blah.name#<br> <cfdump var="#cfcatch#"> <cfabort> </cfcatch> </cftry> </cfoutput> <cfftp action="close" connection="myConnection"> Stace -----Original Message----- From: Stacy Young [mailto:Stacy.Young@;sfcommerce.com] Sent: Saturday, October 26, 2002 11:37 PM To: CF-Talk Subject: Anyone had weird results on MX with CFFTP? I've got a little script that connects to a FTP server, grabs a directory listing...then loops through that list and compares each subfolder name with a search param. Nothing too complicated. What's strange is that as soon as I execute it my box dies...at least all network connections come down. (mapped drives, web sites etc..) It happens when it reaches the point of looping over the query of the parent directory...and each loop has an instance of cfftp to grab the listing of the subfolder. Will verify again and post a code sample once I confirm I'm not crazy... Stace AVIS IMPORTANT: ------------------------------- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. WARNING: ------------------------------- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

