On 1/20/06, Jeff Chastain <[EMAIL PROTECTED]> wrote: > > This is my first time working with CFFTP, so pardon if this is an obvious > question. I have basically copied the code from the livedocs for CFFTP > which sets up a new connection and attempts to display a directory contents > listing. The problem I am running into is that when I attempt to make the > subsequent "getcurrentdir" request, I am getting an exception that the > "connection was closed without indication". Is this something wrong with my > code or some issue with the FTP server? > > -------------------- > > <cfftp connection="session.myConnection" > username="********" > password="********" > server="********" > action="open" > stopOnError="yes" /> > > <cfftp connection="session.myConnection" action="getcurrentdir" > stoponerror="yes" /> > > <cfoutput> > <p>FTP directory listing of #cfftp.returnvalue#.</p> > </cfoutput>
Try using: <cfftp connection="#session.myConnection#" action="getcurrentdir" stoponerror="yes" /> -- Steven Erat http://www.talkingtree.com/blog/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230132 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

