WebSite X5Help Center

 
Andre Feyaerts
Andre Feyaerts
User

Please help with creating container for downloads  en

Autore: Andre Feyaerts
Visite 1419, Followers 1, Condiviso 0  

I am new. Could somebody please be so kind to explain me how to insert a PDF file in a webpage in such a way the users are able to download it? I mean downloading, not opening. Is this operation possible with any file? like pictures, sounds, ppt, zip files and others?

Postato il
8 RISPOSTE - 2 UTILI - 1 CORRETTO
Andre E
Andre E
Moderator

Yes it is,

Offcource if opend, you cab save it, but if you want immadiate download then it is best you create a (selfextracting) zip file of your pdf. Then download will start

Leggi di più
Postato il da Andre E
Andre Feyaerts
Andre Feyaerts
User
Autore

It seems you are a profesional and probably you got the right solution.

I was looking into your forum and I think it is better than this official one, but I can't understand German.

Thanks anyway.

Andre

Leggi di più
Postato il da Andre Feyaerts
Andre E
Andre E
Moderator

Do you have a sollution now ? Because if not i will try and explain better.

I see that my text  / writing was not my best. But creating a link using a zipped archive will give you automaticly a direct prompt for download. A PDF file will be opend iF a pdf reader is installed on the pc of the user..

So the link for download is the same as opening. An d what your computer does depends on the file type.

And i'm not a professional, just a user .... Laughing

The forum is not mine, it's Zwoemti's ....

BR

A

Leggi di più
Postato il da Andre E
Der Zwoemti
Der Zwoemti
Moderator

I can send you the sample project. Which you can import into Website X5 and you look - it's all included trimmings. I only need an email address from you.

My email address is

info (at) unofficialwsx5.de

there you can reach me.

Leggi di più
Postato il da Der Zwoemti
Cristian M.
Cristian M.
User

@Andre F.

There are also alternative solutions to your problem.  Use cloud services as Box.com (there are many others) to upload your file(s) and then use the offered sharing options on your Wx5 website.

For example, a PDF file is uploaded on Box. Once there, use the Sharing -> Link -> Embed. Adjust the code to your preferences and paste it in a Wx5 html box.

Hope it helps.

Cristi M.

Leggi di più
Postato il da Cristian M.
Der Zwoemti
Der Zwoemti
Moderator

OR

If your web space .htaccess supports and has enabled Apache mod_headers.

you can put the following in the file .htaccess

 The file comes only in the DOWNLOAD! Folder.

All the files are in there and ending pdf / jpg / gif always have to be downloaded.

<FilesMatch "\.(?i:pdf|jpg|gif)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>

Leggi di più
Postato il da Der Zwoemti
Andre Feyaerts
Andre Feyaerts
User
Autore
Der Zwoemti
I can send you the sample project. Which you can import into Website X5 and you look - it's all included trimmings. I only need an email address from you. My email address is info (at) unofficialwsx5.de there you can reach me.
Der Zwoemti
I can send you the sample project. Which you can import into Website X5 and you look - it's all included trimmings. I only need an email address from you. My email address is info (at) unofficialwsx5.de there you can reach me.

my email adress is ***

I am VERY gratefull for your kind offer to send me your example.

Thank you so much

Leggi di più
Postato il da Andre Feyaerts