Zips downloaded from replit are broken

Bug description:
Zips downloaded from replit are broken

Expected vs Current Behavior:
expected: downloads fine
current: file is corrupted

Steps to reproduce:
upload a working zip file
download it
open it

Bug found at this replit:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0

Replit Profile:

1 Like

Hi @Tycho10101 , welcome to the forums!
Are you uploading the folder, then download it?
Replit isn’t a zip editor.
Unless you mean that when you open the folder in Replit, it is corrupted?
Try unzipping it in the Shell:

unzip -d $REPL_HOME/zip

Taken from:

Hope this helps!


Please just read the post fully.

He basically means, upload any ZIP, then download that ZIP back from Replit, and open it. And it will be corrupted. Which is exactly what the original post says, but whatever.

@Tycho10101 Are you still having this issue?

1 Like

If you download the repl as a zip, then unzip the zip file inside the downloaded file, it works fine, but unzipping directly seems to cause it to be corrupted.

1 Like