System corrupting images

ighost

Verified User
Joined
May 20, 2013
Messages
20
Hello,
One of the people using my DirectAdmin experiencing that the instalation corrupts his images.
I got one of his images to show an example: http://ug-roleplay.com/images/high.png

I really don't know what's the issue here. I tried upload an image to his website too and as soon as it's uploaded and you try to reach it, it looks like this. It worked on my own PC. If you upload it and then download it, it won't work on my PC as well.

What's wrong?
 
Oh, forgot to say that not in every case it corrupts the image, some images work, no idea why.
 
Are you sure the server is corrupting the image upon sending it? Download a copy of the image and try viewing it locally. Make sure it wasn't upload using FTP as a text file, which will corrupt it.

Jeff
 
I really don't know what's the issue here. I tried upload an image to his website too and as soon as it's uploaded and you try to reach it, it looks like this. It worked on my own PC. If you upload it and then download it, it won't work on my PC as well.

What's wrong?

Hello,

Yes, it seems to be corrupted for me as well. The image can not be displayed both in a browser and with a Image Viewer locally on my PC.
How do you upload images: FTP? Directadmin file manager? Or web-form on the admin area of the site?

DO you have ModSecurity installed? Any script/addon/module for checking uploaded images?

Oh, forgot to say that not in every case it corrupts the image, some images work, no idea why.

Are they all PNG images?

Note, I'm as well as others here available for investigating and fixing your issue in terms of a commerce service. Please feel free to contact me, or anyone else if you need somebody to do the job for you.
 
I thought that the issue was over but no. Appearently, my DirectAdmin Instalation corrupts a part of the files, but it appears not only images. I took a few hours upload a big file, download on a different computer and it appeared corruped, it was an ISO file.

nobaloney said:
Are you sure the server is corrupting the image upon sending it? Download a copy of the image and try viewing it locally. Make sure it wasn't upload using FTP as a text file, which will corrupt it.
I'm not sure, I guess I just upload my files as they are. I use FileZilla and WinSCP for uploading files.

zEitEr said:
Yes, it seems to be corrupted for me as well. The image can not be displayed both in a browser and with a Image Viewer locally on my PC.
How do you upload images: FTP? Directadmin file manager? Or web-form on the admin area of the site?
I use FTP and SFTP fo

zEiTer said:
DO you have ModSecurity installed? Any script/addon/module for checking uploaded images?
I've no modules installed.

zEiTer said:
Are they all PNG images?
As I've mentioned above, I experienced trouble with all kinds of files.
 
I thought that the issue was over but no. Appearently, my DirectAdmin Instalation corrupts a part of the files, but it appears not only images. I took a few hours upload a big file, download on a different computer and it appeared corruped, it was an ISO file.

You might need to check your HDD and replace it, as it might be failing now.
 
I really needed to get something working but DirectAdmin kept corrupting only the images this time.
I found out that when I upload it via SFTP on root access, that it doesn't corrupt the images, but how can I fix it for the regular FTP?
 
You'd better get somebody to do a work on your server... or try to debug it with your own. Feel free to contact someone of us here for a quote if you need a quick solution.
 
I really needed to get something working but DirectAdmin kept corrupting only the images this time.
DirectAdmin isn't corrupting anything. DirectAdmin has nothing to do with uploading, downloading, or storing your files.
I found out that when I upload it via SFTP on root access, that it doesn't corrupt the images, but how can I fix it for the regular FTP?
If FTP is corrupting files but SFTP isn't, that's a symptom that you're uploading as ASCII files which should not be uploaded as ASCII. Check your FTP clients as that's where the setting would be.

I wrote this earlier in this thread, and I don't think you've addressed it.

Jeff
 
Back
Top