+ Start a Discussion
prady-cmprady-cm 

Downloading a static resource does not save with extension

I have a csv file as a static resource and i am allowing users to download this file using the following.

 

<a href="{!URLFOR($Resource.AccountUploadTemplate)}" target="_blank">Click here </a>

The issue i face is that the download file does not have an extension and file type is File when viewed in windows explorer.

Is there anyway we can force it to save with an extension?

 

 

 

 

Avidev9Avidev9

Try using this instead.

 

<a href="{!$Resource.AccountUploadTemplate}" target="_blank">Click here </a>

 Not sure if this help

ReidCReidC

Why a static resource instead of a document?