umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

Feedback on download export zip file #217

Open skttl opened 4 months ago

skttl commented 4 months ago

Trying to export a complete workspace, for importing in to a new site (v8 to vLatest upgrade).

I could use some visual feedback about what is happening in the dialog. There is just a button that is spinning. The export is huge, and I can see in the network tab that it is downloading though.

image

Also, if something breaks (connection outage etc), I don't seem to have any way of getting the zip file again, other than exporting a new one. Is that how it's meant to be? There could be a list somewhere of exports, where I can also delete the ones not to be used anymore.

skttl commented 4 months ago

And the zip file I ended up getting was only 1KB? I saw it downloading more than a gigabyte in my dev tools.

ronaldbarendse commented 3 months ago

Thanks for reporting this Søren!

Deploy uses umbRequestHelper.downloadFile() (in v8-v13) provided by the CMS to initiate the file download and get updates on progress/completion, but that uses a temporary browser blob buffer that seems to have browser/OS specific limits. I've successfully downloaded (and even uploaded) 1.5GB ZIP archives, which seems to be within the 2GB Chrome on Windows x64 limit of my PC...

We do recommend a different method for transferring large amounts on media though, like a direct Azure Blob Storage copy or using FTP to download/upload the media files (see docs).

As a workaround, you can also try opening the .../DownloadExport?id= request in a new tab (from the Dev Tools), as that should result in a regular download (without the use of the blob buffer). We'll investigate whether we can avoid using the buffer and invoke a direct download in the UI while keeping the progress updates.