Download a pdf or txt file

Frcc78bis

Client
Регистрация
06.07.2017
Сообщения
49
Благодарностей
2
Баллы
8
Hello,

If I visit a link that point to a file, for example :http://jqueryui.com/resources/download/jquery-ui-1.12.1.zip
Zenno download the file no problem.

But if I want to download a pdf file or a txt file it's not working. I visit the link with zenno but the file open on the browser and the program doesn't download it !

I tried to do it with jquery but wasn't able to achiev it and I am not sure the zenno variable will work on the jquery code.

Is there a solution to this problem ?

thanks a lot !
 

Nord

Client
Регистрация
22.03.2012
Сообщения
2 406
Благодарностей
1 473
Баллы
113
HTTP request GET - insert your link - in options mark "load like a file"
And file will be downloaded into Tresh folder (in your ZP folder)
 
  • Спасибо
Реакции: Frcc78bis

Frcc78bis

Client
Регистрация
06.07.2017
Сообщения
49
Благодарностей
2
Баллы
8
Wow that was fast !!
I'm a little rusty, that was simple :-)
Thanks a lot
 

LightWood

Moderator
Регистрация
04.11.2010
Сообщения
2 382
Благодарностей
917
Баллы
113

Frcc78bis

Client
Регистрация
06.07.2017
Сообщения
49
Благодарностей
2
Баллы
8
Thanks for the precision !
 
  • Спасибо
Реакции: LightWood

Geintoura

Новичок
Регистрация
03.05.2020
Сообщения
1
Благодарностей
0
Баллы
1
Hi i'd like to do this in a fresh zennoPoster installation 7.1.3. I tried to download a pdf using :
Http get
URL : direct url to pdf
Load: as a file

It always ends with : Running HTTP Request failed
I tried to enter the url to a public png to debug but same error each time

Can anyone help please ?
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 453
Благодарностей
5 913
Баллы
113
Hi i'd like to do this in a fresh zennoPoster installation 7.1.3. I tried to download a pdf using :
Http get
URL : direct url to pdf
Load: as a file

It always ends with : Running HTTP Request failed
I tried to enter the url to a public png to debug but same error each time

Can anyone help please ?
Give us the link to the file to check.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)