PDA

View Full Version : Problem with png type file uploads



pierrick419
10-05-2010, 08:57 PM
Hi All,

I am not sure I am posting this thread into the right section but cannot find where else it fits better so apologies if I got it wrong -

I am having a very strange issue with uploading png files, I am using Filezilla as FTP software and every time I upload any png, the files do get upload but seem to lose all their properties and are not download when viewing the website they are supposed to be on. This has now happened on two completely independent websites. I can see fine those png files into my web pages on my local machine.

All other image files upload fine.

Any idea why this happens?

Thank you for your help

P

wige
10-06-2010, 09:48 AM
Most likely, the files are being uploaded in the wrong mode. FTP clients such as Filezilla have an internal filter they used (usually based on the file extension) to decide if a file should be uploaded as ASCII or binary. I would start by checking this filter to make sure png is not in the list of filetypes to be treated as ASCII.

In FileZilla: Edit > Settings > Transfers > File Types

If they are not listed, there may be another issue. If you PM me with a link to a page that links to a bad image, I can take a look and see if the problem is on the server side.

AndrisE
10-13-2010, 04:51 AM
Check .PNG mime-type in your webserver configuration.

Web_Design
11-23-2010, 09:26 PM
Did you try to use any other ftp software? does it give same problem?

williamc
11-23-2010, 09:38 PM
If they are not listed

If filezilla defaults to ascii if it can not find a match for the extension, then he may 'need' it listed as binary.

carenstanley
04-07-2011, 08:06 AM
If your websites is wordpress based then you have to select the settings.