Hi, guys ! A while ago I decided myself to try and create a cloud storage site. The problem is that I can’t figure out a way to download the files that were uploaded. I have tried putting this in an HTML box:
When I press the download button I just come to the files URL and then maybe I can download manually, but I need it to be automatically. Otherwise the cloud service won’t be compatible with all files.
Hey Andreas Did you try using a link element? If you set the link to be an External URL, open in a new tab, and then have the URL be the file URL, I believe those settings should download the document automatically, on-click. (However, if it’s an image - I think it will open in a new tab on-click first).
In this example, my Type of Thing is Resume, and Resume has a field to store the File (type: file, list: no). The link element inside states “Click to Download” as the text, and the URL is the URL where the Resume File is stored.
In preview mode, when a User clicks on the link - it should download automatically as long as the file was uploaded using the file uploader and not the photo uploader. Let me know if that works for you and if not I can definitely try to assist in setting this up.
Thank you very much, Faye, you almost solved my issue! There is one problem and that is that when I tried to download one of the pdf files it downloaded result.xls instead! Strange huh?
My pleasure Andreas! I just tested with a pdf as well and it did download correctly for me. However, when the file field is empty, it will download ‘result.xls’ instead. Maybe double-check to see if the file field that should contain the pdf isn’t empty?
Does this one work for you? (removing the results.xls)
I also noticed in the first example that I just put “Parent group’s Resume’s File”. Even though this worked, I should have put “Parent group Resume’s File’s URL”.