Thanks Alvin. 'rb' is better than 'r', and the generated zip is almost correct but the LF, in the temporary file, are replaced by CRLF in the final zip... I'm looking for a solution that keeps the stream intact.
Thanks Alvin.
'rb' is better than 'r', and the generated zip is almost correct but the LF, in the temporary file, are replaced by CRLF in the final zip...
I'm looking for a solution that keeps the stream intact.