Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

get attachment directory

$
0
0

I want to user to upload attachement to my upload directory like following

 

C:\inetpub\wwwroot\MySite\Test\uploadFile

 

<cfset strPath = ExpandPath( "./" ) />

<cfset strPath = GetDirectoryFromPath(GetCurrentTemplatePath())  />

<cfoutput> #strPath#</cfoutput>

 

I use above code which gives me the following path.

 

C:\inetpub\wwwroot\MySite\Test\

 

Are there any way to add \uploadFile to the return path?

 

Your help and information is great appreciated,

 

regards,

 

Iccsi,


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>