NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on May 06, 2013, 08:09:57 AM
-
Hi All,
Is anyone here using LSZip in there NT Web Server app without a window to zip files inside of there file download procedure?
Any generic code you could share would be most welcome?
Ashley
-
Hi Ashley,
I'm not using LsZip - but tell me more about what you have in mind.
NT7 supports dynamic file compression - meaning that files can be sent compressed, even if they are not zip files.
(so from a pure speed point of view, there's no benefit to Zipping.)
cheers
Bruce
-
Hi Bruce,
In my web app I need to zip 2 pdf's and 1 csv file once the user is validated. I do not want them to have 3 separate downloads as this causes more traffic. Can I use the LSZip without a window or a window hidden called as a procedure or should I use a source procedure with no window?
Ashley
-
sorry Ashley, I don't know LsZip, so I don't know the answer to that one...
-
Hi Bruce,
After some experimentation I found the solution. I just created a source procedure and call it from my download page in the "Before Header" embed where I do my validation. Work quite nicely.
This may not be the correct place but I am enclosing the source procedure code.
Thanks,
Ashley
[attachment deleted by admin]