WebSite X5Help Center

 
Andre Feyaerts
Andre Feyaerts
User

Please help with creating container for downloads  en

Autor: Andre Feyaerts
Visitado 1507, Followers 1, Compartido 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?

Publicado en
8 RESPUESTAS - 2 úTIL - 1 CORRECTO
Andre E
Andre E
Moderator
Usuario del mes EN

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

Leer más
Publicado en de Andre E
Andre Feyaerts
Andre Feyaerts
User
Autor

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

Leer más
Publicado en de Andre Feyaerts
Andre E
Andre E
Moderator
Usuario del mes EN

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

Leer más
Publicado en de 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.

Leer más
Publicado en de 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.

Leer más
Publicado en de 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>

Leer más
Publicado en de Der Zwoemti
Andre Feyaerts
Andre Feyaerts
User
Autor
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

Leer más
Publicado en de Andre Feyaerts