.docx files corrupted when uploaded

Hi,

If I upload a .docx file to Replit (uploaded to the folder of the python repl) I cannot open the same file in the wordeditor after i downloaded it (despite not doing anything to the uploaded file). Instead Word throw the below error. That being said I can still access the file and manipulate it with the repl, and the uploaded file and the downloaded file are the same size. Any ideas what is causing this issue?

Capture2

Could be the OS boundary. Replit uses Linux, while your computer probably uses windows. Are you modifying the file after uploading it?

2 Likes

Thx for feedback.

No, just uploading and immediately downloading the file gives this error, I have tried different documents and all gives the same error.

/Rasmus