Do you open the files in binary mode? Makes a difference on Windows. /Thomas Pablo Pernot wrote: > Hello all, > > I started working with the gzip module. > It works fine in full linux env. > But when I upload (working with socket) gzip files in a windows env, > the files appear corrupted. > any clue ?