Hi All,
In my web application, I wanna check the given directory is exist in remote location,
if it exists then compress that directory into zip and download in browser. How can i achieve this.
Thanks in Advance
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ben TomasPosted Jan 29, 2016, 8:06 AM
You should create HTML and then create a zip file like:
and then saving the zip file on output stream. It's working fine, ZipFile download option pops up in the browser and is downloaded wherever user saves it like:
Regards,