How to download a file from a server

ArtChan 07 Jan, 2016
Hello,
In this days I'm trying to update my old website (that uses an older version of CF) with the latest version of CF5. But Im having some problems to do a thing;

When a person uses a unique code that I've sent to him (this code has the same name of the file), the code will bring him to a download link, that contains a ZIP file stored on my server. So the person can download it.

I searched on the forum but I didnt find no one with my same problem, can I have a tip?
Thanks for the attention
GreyHead 07 Jan, 2016
Hi ArtChan,

You can use a Display Message action with a link to the file in it.
<a href='http://my_domain.com/folder/path/{code}' >Click to download </a>
- changed to match your site settings

Bob
This topic is locked and no more replies can be posted.