Oops.
'bin' means BINARY mode and the intent is that NO translation takes place.
BINARY mode should be used for files that would be messed up by EOL
translation.
Like executables, tar or ZIP files, jpep, etc.
ASCII means "please move my file, but translate the EOL appropriate to the
system receiving it.
I suppose, in the zeal to 'perl' everything you could, but since FTP is
supposed to do this for you and you are already FTPing the file, I would
suggest not reinventing the wheel.
Greg
-----Original Message-----
From: baby lakshmi [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 25, 2001 4:07 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: reg ftp
hi
thank you for ur mail. i have given bin while ftping it. still i am getting
the same problem.
Thank you
regards
babylakshmi
>From: "Antonio Greco" <[EMAIL PROTECTED]>
>To: "baby lakshmi" <[EMAIL PROTECTED]>
>Subject: Re: reg ftp
>Date: Fri, 25 May 2001 10:26:38 +0200
>
>hi
>
>try setting "bin" before transfering
>
>eg
>
>..................
>Ftp> bin
>200 Type set to I.
>Ftp> put localfile remotefile
>.................
>
>bye
>
>;-)) agreco
>
>-----Ursprüngliche Nachricht-----
>Von: "baby lakshmi" <[EMAIL PROTECTED]>
>An: <[EMAIL PROTECTED]>
>Gesendet: Freitag, 25. Mai 2001 08:49
>Betreff: reg ftp
>
>
> > hi
> > while doing ftp from windows to unix, the file contains ctl M at the end
>of
> > each line. my file is a huge data file. i am not able to delete that. is
> > there any better way to delete it.
> > If anyone can answer this, it wud be helpful to me.
> > Thank you
> > Regards
> > babylakshmi
> >
> >
>_________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com.
> >
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.