Re: Question: ftp Command Line Program Warning About Line Endings

  • From: Jim Bauer <holdsworthfan@xxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Thu, 29 Jul 2010 10:40:02 -0500

Transfer the file in binary mode. This makes an exact copy and doesn't try to 
convert things like line endings based on an OS's notion.

On Thu, 29 Jul 2010 11:35:08 -0400, Homme, James wrote:
> Hi,
> ftp warned me about bare line endings when I used its get command to bring a 
> file from a Windows box to my Linux box. The warning said that I may not have 
> gotten the whole file. The file is a plain text file.
> * I know that Linux line endings are different from Windows line endings from 
> the little Perl that I know.
> * I transferred the file using ASCII mode.
> How can I check to see if I got the whole thing? It was created by a Drupal 
> module that created a huge SQL statement that transfers data to my site 
> database, so I can't read it in a text editor and be sure that it's all 
> there. I don't know whatt's supposed to be there.
> Thanks.
> Jim
> Jim Homme,
> Usability Services,
> Phone: 412-544-1810. Skype: jim.homme
> Internal recipients,  Read my accessibility 
> blog<>. Discuss 
> accessibility 
> here<>.
>  Accessibility Wiki: Breaking news and accessibility 
> advice<>
> ________________________________
> This e-mail and any attachments to it are confidential and are intended 
> solely for use of the individual or entity to whom they are addressed. If you 
> have received this e-mail in error, please notify the sender immediately and 
> then delete it. If you are not the intended recipient, you must not keep, 
> use, disclose, copy or distribute this e-mail without the author's prior 
> permission. The views expressed in this e-mail message do not necessarily 
> represent the views of Highmark Inc., its subsidiaries, or affiliates.

View the list's information and change your settings at

Other related posts: