The connection value actually returns an object with the name you specify. You have called it 'filename' and I'm guessing that you also have a query called 'getFileNames' with a column of filename.
I think the two variables are then getting confused - I would just rename the connection to something more meaningful like 'myConnection'. HTH On 3/27/06, Doug Bedient <[EMAIL PROTECTED]> wrote: > > Out of the blue a week ago, a page that I have been using for years > started giving me this error message. > > Invalid connection specified. > The connection attribute you specified, getFileNames, is invalid or does > not exist > > Nothing has change in the code. It will grab one file and then throw the > error. Is it possible that the connection is timing out? > > <CFFTP > ACTION="Open" > SERVER = "#serverIP#" > USERNAME = "#serverUser#" > PASSWORD = "#serverPass#" > STOPONERROR = "Yes" > CONNECTION = "FileName"> > > <CFFTP > action="changedir" > directory="idx" > CONNECTION = "FileName"> > > <!--- there is a loop here to gather files ---> > > <CFFTP ACTION="GetFile" > LOCALFILE = "#sitePath#\temp\pics-residential-#imageFile#.tar" > REMOTEFILE = "pics-residential-#imageFile#.tar" > PASSIVE = "yes" > STOPONERROR = "No" > TRANSFERMODE = "Binary" > CONNECTION = "FileName"> > > <!--- end loop ---> > > Thanks for any help, > Doug > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236243 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

