Re: ASCII text garbled on FTP download?

From: root (root_at_home.com)
Date: 04/16/04


Date: Fri, 16 Apr 2004 22:49:41 +0100

On Fri, 16 Apr 2004 12:53:06 -0700, Bill S. wrote:

> Ok, this helps. Thanks for the advice. btw when I go to dosshell and
> edit the 1.cgi, it's formatted ok. So the problem is my notepad.exe

Arrrggghhh - Im guessing your American ... Texas maybe ?

"edit" will edit CR terminated text (unix) - saving the file always
generate CR+LF terminated text (windows). So loading the file into edit
and saving it again converts from one to the other using only the windows
machine.

Can you feel me banging my head on the desk yet ?

After all this im convinced you still don't understand the problem.....

http://www.asciitable.com/
http://www.indiwiz.com/linux/browse/Tutorials/General/dosunix.php

>
> The reason why I use notepad is it's easier, as the files are sitting on
> my computer. As the webpages I have get bigger, I've started to back
> them up - tar them and ftp the tars to my Windows machine to store them
> there - cause the thought of re-uploading everything, permissions, etc.,
> makes me ill.
>
> As for the unix2dos, I need to install that on my server.
Is it Redhat ? Sure its not installed ??

If I run the
> command for all files in the directory, will it destroy any non-text
> files, like gifs etc?

Yes, you would need to write a 3 line shell script, good luck.

Jon



Relevant Pages

  • Re: Help with registry edits not being set
    ... make the connections and edit things. ... It could be that on Windows 2000 machine those settings aren't allowed?? ... You would do an install file to install reg.exe and then do a execute ... Using SMSI do an "install file" and put this *.reg file someplace on the ...
    (microsoft.public.sms.installer)
  • Re: No Autocomplete.
    ... using Windows 98 on an IBM ThinkPad. ... I ran Kelly's edit again. ... Unfortunately, the settings ... I did install the Spyware and made sure I had all of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Windows 98s Fails at start-up
    ... operating system. ... How do I get rid of the part of the xp install? ... it has been so long since I saw a Windows 98 to Windows XP upgrade - not ... (Google for 'edit boot.ini'.) ...
    (microsoft.public.windowsxp.setup_deployment)
  • installed dual os in a pc.
    ... Click edit and edit your boot.ini by removing the ... partition on that hard disk and later on format it. ... accidentally choose to install a windows xp (try to stop ... of the windows xp's everytime when i turn on the pc. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Two seperated users on one system?
    ... In Windows XP, install them both, one after the other, on the separate ... it will display a Boot Menu asking you which one you want to start. ... You can also click the Edit button to manually edit the ...
    (microsoft.public.windowsxp.setup_deployment)