sertelccoo
(CCOO ILUNION Contact Center)
March 14, 2019, 9:22am
#1
Hi
I have read in some posts that with the block “on download start” from the WebViewer, you can download pdf archives, but i dont know what blocks do i have to use to fill all the sockets.
Can anyone help me, please?
PS: Sorry for my english, it’a not my native languaje
PPS: My knowledge about Kodular is near to zero
pavi2410
(Pavitra Golchha)
March 14, 2019, 10:33am
#2
Yeah, use “On Download Start” block from Webviewer in conjunction with the Download component.
vknow360
(Sunny Gupta)
March 14, 2019, 12:04pm
#3
Please look at this
Suppose the url is this
[image]
Then the filename will be 5145f4faf5cb694627e921c78d41b4779c08c5e0.png.
How can I get it ?
2 Likes
Remove all the forward backslash and find the word .png and use it as the filename
sertelccoo
(CCOO ILUNION Contact Center)
March 15, 2019, 8:33am
#5
Thanks
This are the blocks I’m using by now.
But when y try to download a file, it gives back a runtime error <<can only download http/https url>> but the url is, in fact an https
(
https://www.ccoo-servicios.es/archivos/telemarketing/Convenio-Contact-DEF.pdf )
vknow360
(Sunny Gupta)
March 15, 2019, 1:40pm
#6
@sertelccoo You are using wrongly.
-Set download url to url of web viewer.
-Set save file name by removing backslashes from the url
-Set download title to filename
Now use download file
1 Like
sertelccoo
(CCOO ILUNION Contact Center)
March 18, 2019, 9:50am
#7
But, does it means that I have to set the url of every pdf document aviable in my web?
Is there aney way to set the blocks to follow the links, whatever they are?
PS: Any links are PDF documents
vknow360
(Sunny Gupta)
March 18, 2019, 1:31pm
#8
Do you want to open doocuments in your app something like chrome?
You can use @Deep_Host Custom Download Extension
Custom Downloader Extension For Kodular [Free]
New Update :
Custom Filename
Get file path after Download Complete
Extensions Features :
Start Download with Pause and Resume
Download file in Default Download Folder or Custom Specific Folder
Automatic file name Get from Download URL
Show Total Size of Download File
Show Current Download Progress Size
.
Last Update : 20 - 01 - 2019
Download Extension - yt.DeepHost.Custom_Download.aix (74.4 KB)
.
.
[new1]
.
.
.…
sertelccoo
(CCOO ILUNION Contact Center)
March 19, 2019, 11:13am
#11
Done and working using the method of this post.
this is a basic guide to download the any file with the exact filename from download URL using On Download Start block from web viewer component.
just do the exact block arrangement which is shown below.
components used -
WebViewer
Download
[image]
I hope this will help some users who wants to save file with the file name given in the download url.
i also updated the T-Browser (Open Source Version) with this download logic. if you want you can download the aia file from original post give…
Thhese are the blocks
1 Like
Peter
(Moderator)
March 19, 2019, 11:18am
#12
You have to put an empty textblock on the initialize global block.
2 Likes
sertelccoo
(CCOO ILUNION Contact Center)
March 19, 2019, 11:51am
#13
Great, the warning stop showing.
system
(system)
Closed
April 18, 2019, 11:51am
#14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.