Problem w/ MS VC++ & Unix FTP Server

Sharky Forums


Results 1 to 4 of 4

Thread: Problem w/ MS VC++ & Unix FTP Server

  1. #1

    Post Problem w/ MS VC++ & Unix FTP Server

    Hi!

    I have a problem with Microsoft Visual C++ 6 Standard and Unix ftp server. I do programming at school under Win2k Pro and Microsoft Visual C++ 6 Professional. I save the source code on the school server. I download the files from school computer to my home computer via ftp. For some reason, when I open the source code at home, I get an error that: "Lines ending with only a carriage return have been detected. This will be modified to include a line feed."

    That is a major setback for me because I always have to go and fix the spaces after it fixes it. Is there a way to go around this or completely eliminate the problem? How about archiving it in zip or rar?

    Thanks,
    Kuphryn

  2. #2
    Hammerhead Shark
    Join Date
    Oct 2000
    Location
    Toronto, Canada
    Posts
    1,493

    Post

    Did you upload in binary mode?

    ------------------
    DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
    UWSWA1season GP:9 G:12 A:8 Pts:20 GWG:3 +/-:-3
    MCBHL1season GP:4 G:5 A:5 Pts:10 GWG:0 +/-:9

    uwcdc.com or namgor.com
    DHAHL3seasons GP:73 G:121 A:55 Pts:176 GWG:12 +/-:184
    UWSWA6seasons GP:41 G:53 A:46 Pts:99 GWG:5 +/-:-25
    MCBHL3seasons GP:14 G:20 A:8 Pts:28 GWG:4 +/-:19

    uwcdc.com or monkis.com

  3. #3
    Tiger Shark
    Join Date
    Feb 2001
    Location
    Dublin
    Posts
    559

    Post

    Yup, there is the problem. Unix ftp servers need to have the clients put in binary mode.

    Just do from the command lineL

    ftp my.ftp.com
    .
    .
    .
    username
    password
    bin

    then just download the files as before.

  4. #4

    Post

    Thanks.

    Download in binary mode does the job.

    Kuphryn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •