Opened 13 years ago

Closed 7 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)

Filezilla.PNG (14.5 KB ) - added by Francis Claessens 13 years ago.
Screenshot

Download all attachments as: .zip

Change History (3)

by Francis Claessens, 13 years ago

Attachment: Filezilla.PNG added

Screenshot

comment:1 by mariush, 12 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 Tim Kosse, 7 years ago

Priority: criticallow
Resolution: Noneoutdated
Status: newclosed
Note: See TracTickets for help on using tickets.