OS: windows 7,
FTP: Using Filezilla,
Webhost that forum is on godaddy, using linux
-link to what the images look like->
http://www.hype-clan.com/hypeforum/viewtopic.php?f=49&t=262&sid=b1526f8b889a15c35c46ecb8ecb8363a
The Problem:
Moved my mysql database to new host, and moved phpforum files to new host also.
when uploaded the new php files using filezilla, the filezilla setting where:
-Default transfer settings where on AUTO
-treat files without extension as ASCII file ( this was checked )
-Treat dotfiles as ASCII files. ( this was checked )
so uploaded the php files with these settings
and the pictures where there but all white, and when clicked on thumbnail larger white pic came up with a triangle warning sign.
-- so i went on many forums looking for an answer, i got mixed answers, all around the fact that i didnt upload it in Binary mode or i didnt have the -treat files without extension as ASCII file - unchecked.
so i tried different ways up uploaded just the folder that had the images in it, i tried unchecking the treat files without extension as ASCII files, also unchecked the Treat dotfiles as ASCII files, and put Default transfer setting to binary.
this help a lil, as before all the images were white, and after doing the step above, they end up with blocky colors and some tiny blocks you can see the real image.
then i re-uploaded the entire php folder with all the files, in binary and i just got the same thing as above.
i also tried changing some htcacces code but that didnt seem to help either. ( those files are back to the way the original were)
so im stuck. any help would be great. i tried to provide as much infor about the situation as possible, and all the steps i have taken to try and fix it.
im thinking since the last host for the forum was windows based, and the new host on godaddy is linux, that may be an issue but idk.
Ive been told this can not be done, but there are about 200+ files that i dont want to lose.
If not can you download and install perl to windows from here: http://www.activestate.com/activeperl/downloads
I have included a modified version of that script here. Create a new folder, in this folder put the following:
1 - the script below saved as unftp.pl
2 - a directory called images which contains all the images you want to convert from ascii
3 - a directory called images2
If you have SSH access to the server and are doing this on the server, just navigate to the directory with the perl script in, and type perl unftp.pl - then hit enter. If you are on windows just double click the perl script itself - a dos prompt should flash up and vanish again and it should be done. Either way, check the images2 folder which should now be full of binary images and see if it has worked.
Open in new window