Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Creating a File Shortcut with CF

$
0
0

I am finding and uploading documents with this code:

 

<cfif structKeyExists(form, "uploadfile1") and len(form.uploadfile1)>

   <cfset destination = "//server/target folder/">

   <cffile action="upload" filefield="uploadfile1" destination="#destination#" nameConflict="makeUnique">

</cfif>

 

However, I would also like to create Shortcuts to this file in one or more other folders. In Windows Explorer, shortcut entries look like this:

 

MyFile.docx - Shortcut          6/17/2019 1:40 PM          Shortcut          3 KB

 

Is there a way to do this in CF? If so, can you provide some code or a location where I can find some advice on how to do it? I use Dreamweaver CS6 as my development environment.

 

Thanks.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



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