# The downloadable zip folder passed directly to the server home and not downloaded directly to the laptop of the user

**URL:** <https://discuss.tryton.org/t/the-downloadable-zip-folder-passed-directly-to-the-server-home-and-not-downloaded-directly-to-the-laptop-of-the-user/8385>\
**Category:** Developer\
**Created:** [March 10, 2025, 8:14am UTC](https://discuss.tryton.org/t/the-downloadable-zip-folder-passed-directly-to-the-server-home-and-not-downloaded-directly-to-the-laptop-of-the-user/8385 "2025-03-10T08:14:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Xavi](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/x/8e8cbc/32.png) [@Xavi](https://discuss.tryton.org/u/Xavi)\
**Post date:** [March 10, 2025, 11:55am UTC](https://discuss.tryton.org/t/the-downloadable-zip-folder-passed-directly-to-the-server-home-and-not-downloaded-directly-to-the-laptop-of-the-user/8385/2 "2025-03-10T11:55:37Z")

</div>

Hi, you are downloading the zip on the server, in your localhost “works” because your local machine is the server.  
I got the same issue as you a few days ago about downloading a zip on the client, check this post: [Downloading multiple attachments](https://discuss.tryton.org/t/downloading-multiple-attachments/8294)

Focus on:

> [@Downloading multiple attachments](https://discuss.tryton.org/t/downloading-multiple-attachments/8294/8):
>
> > [@Downloading multiple attachments](https://discuss.tryton.org/t/downloading-multiple-attachments/8294/7):
> >
> > how to return the zip to the user (as it was a report).
> 
> If you want to return as a report, you need to create a custom report and include in the [execute](https://docs.tryton.org/latest/server/ref/report.html#trytond.report.Report.execute) method all the code needed to build the zip file and return its contents.

Hope it helps.

---

_[View the full topic](https://discuss.tryton.org/t/the-downloadable-zip-folder-passed-directly-to-the-server-home-and-not-downloaded-directly-to-the-laptop-of-the-user/8385)._
