superalex/py-wetransfer

Downloaded ZIP damaged on Windows 7 Pro

Closed this issue · 5 comments

Downloaded ZIP damaged on Windows 7 Pro

Here is wetransfer.py.
When downloading on Windows it gets LFCR line endings, on Linux the original LF. Maybe a different issue.

@Saimor Please consider putting your sentence in the comment box and rename the issue to something like Downloaded ZIP damaged on Windows 7 Pro

And really on Windows it get corrupted.
py-wetransfer.zip
Not on Linux.

Solution: #13
Put a b in open(file_name, 'w').

Thanks @szepeviktor I've just merged your PR so @Saimor it should be working now on windows too.

Thank you