Click to See Complete Forum and Search --> : Problem w/ MS VC++ & Unix FTP Server


kuphryn
09-26-2001, 12:28 AM
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

namgor
09-26-2001, 02:03 AM
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 (http://www.uwcdc.com) or namgor.com (http://www.namgor.com)

port22
09-26-2001, 06:23 AM
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.

kuphryn
09-26-2001, 10:02 AM
Thanks.

Download in binary mode does the job.

Kuphryn