Opened 14 years ago
Closed 8 years ago
#7163 closed Bug report (outdated)
Transferring PNG files results in losing 1 bit of data
Reported by: | Francis Claessens | Owned by: | |
---|---|---|---|
Priority: | low | Component: | FileZilla Client |
Keywords: | PNG | Cc: | f.claessens@… |
Component version: | Operating system type: | Windows | |
Operating system version: | 7 64bit Ultimate |
Description
When transferring a PNG file to a linux webserver, the PNG files lose 1 bit of data, making them corrupt. When transferring other image files, no corruption takes place.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | Filezilla.PNG added |
---|
comment:1 by , 13 years ago
This may be and ASCII vs Binary file transfer.
Check both files with a hexadecimal editor - the first five bytes of any PNG files must be:
0x89 0x50 0x4E 0x0D 0x0A - #PNG [ENTER]
When files are transferred in ASCII mode, Filezilla may convert the 0x0D 0x0A (new line + carriage return in Windows) into a single byte. So make sure the transfer mode is set to Binary:
Settings > Transfers > File Types > Default Transfer Type : Binary.
Even if it's set on Auto, it never hurts to set it to Binary for all file types.
comment:2 by , 8 years ago
Priority: | critical → low |
---|---|
Resolution: | None → outdated |
Status: | new → closed |
Screenshot