Opened 12 years ago
Closed 6 years ago
#7163 closed Bug report (outdated)
Transferring PNG files results in losing 1 bit of data
|Reported by:||Francis Claessens||Owned by:|
|Component version:||Operating system type:||Windows|
|Operating system version:||7 64bit Ultimate|
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.
Change History (3)
by , 12 years ago
comment:1 by , 11 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 , 6 years ago
|Priority:||critical → low|
|Resolution:||None → outdated|
|Status:||new → closed|