Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Image Corruption?
by gornox_zx (Priest) on Jul 10, 2001 at 18:38 UTC
    When uploading images they need to be transferred in BINARY mode. If you upload in ASCII, the images will deffinately be corrupted.
    ~heise2k~
      You are correct. Image corruption is caused by uploading via FTP on ASCII mode. Binary makes sense.
Re: Image Corruption?
by Hero Zzyzzx (Curate) on Jul 09, 2001 at 21:23 UTC

    What directory are you trying to upload the picture to? The cgi-bin directory? If so, you might not be able to view images stored there. Can you post more complete code?

    Are you sure the HTML that creates the IMG tag is pointing to the proper directory / file?

      The directory that I am uploading it to is not the cgi-bin directory. I have other pictures in there that I have ftped to there and have no problems with them.

      I have tried to check the file by ftping in back down to my Windows pc using an ftp program. The file has a size but can't be seen.

      This code is coming from a huge file which is why i have only posted the code related to the file upload for you. If you could hint at what other portions would be helpful for you I will put those up as well.

      Thanks.
      A reply falls below the community's threshold of quality. You may see it by logging in.