Hi, assuming all variables are correct what is wrong with this code?
<cfif IsDefined("url.directory")> <a href="testftp.cfm?directory=#url.directory#/#ListFiles.name#"> <cfelse> <a href="testftp.cfm?directory=#ListFiles.name#"></cfif>#ListFiles.name#</a> </cfif> When i click on the very first link the path looks similar to this.. testftp.cfm?directory=wwwroot So the next page would have links that should now look similar to this.. testftp.cfm?directory=wwwroot/images however something is failing with the IsDefined statement becauase I'm getting this.. testftp.cfm?directory=images Does anyone have any thoughts? Phil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187920 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