[need help] file damage when uploading to web server

Discussion in 'Programming' started by moonlight, Oct 17, 2010.

  1. #1
    Hello guys, I need help.
    I'm using mac osx 10.6 snow leopard and coda for text editor and ftp.
    the problem is I upload the file to web server, and after complete in web server the report is complete when uploading file, the file is damage. there are a lots of syntax error when I browse and also the image file is damage.
    for instance: I want to upload this image
    [​IMG]
    but suddenly it turns like this when already in web server:
    [​IMG]

    firstly I thought it because of coda application i use, but when I use another apps such as transmit to upload file it happen the same thing.
    not only image file got damage but also script file that got so many syntax error in many lines.

    but when I try to upload with windows laptop of my friend using filezilla it's ok and no file damage.

    is there anyone experience the same thing? or anyone can solve this problem?
     
    Last edited: Oct 17, 2010
    moonlight, Oct 17, 2010 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Have you tried uploading it in Binary mode?
     
    mcfox, Oct 22, 2010 IP