$Bill,

1)  True.  Most of the time, I prefer binary mode, which is safest.

2)  I am not get the LF to CRLF translation.  Yes, I am downloading from
Unix to Windoze.

3)  I tried the cmdline ftp and ascii mode.  This gives me the proper LF to
CRLF translation.


Sui

-----Original Message-----
From: $Bill Luebkert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 11:40 AM
To: Sui Ming Louie
Cc: [EMAIL PROTECTED]
Subject: Re: ASCII Mode for Net::FTP

Sui Ming Louie wrote:
> Thank you, $Bill.  However, I tried your suggestion and my files are still
> in Unix format.  Is there a way to rectify this besides sending the files
> through a filter to translate the 0Ah to 0Dh,0Ah.
> 
>       while (<>) {
>         chomp;
>         print "$_\n";
>       } # while

1) I transfer all of my files in binary (I prefer to not have the CR in
there
   and windows works fine without the CR).

2) Are you sure you're not getting the LF to CRLF translation ?  Are you
   downloading from UNIX to Windoze ?  Did you hexdump the files at both
   ends ?

3) Try using cmdline ftp and ascii mode and see if you get a different
result.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic
http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)




_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to