<cfset fullyresolvedURL="http://www.mysite.com/this/is/a/directory/and_this_is_a_fi le.cfm"> <cfset fullyresolvedDir=ListDeleteAt(fullyresolvedURL,ListLen(fullyresolvedURL,"/") ,"/")>
> -----Original Message----- > From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 11:33 AM > To: CF-Talk > Subject: How to get directory from full URL? > > > I am trying to get a fully resolved directory (i.e. > http://www.mysite.com/this/is/a/directory/) from a fully > resolved URL (i.e. > http://www.mysite.com/this/is/a/directory/and_this_is_a_file.c > fm) that I am passing in, but I am having difficulty in > finding a simple and elegant way to do so. > > I looked on cflib.org and didn't find any UDF's there...does > anyone have a solution for this? Straight code or a UDF > would be great. ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

