Re: ASCII text garbled on FTP download?
From: root (root_at_home.com)
Date: 04/16/04
- Next message: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Previous message: dmlarsen30: "Cygwin Noob Question"
- In reply to: Bill S.: "Re: ASCII text garbled on FTP download?"
- Next in thread: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Reply: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Reply: Bill S.: "Re: ASCII text garbled on FTP download?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Previous message: dmlarsen30: "Cygwin Noob Question"
- In reply to: Bill S.: "Re: ASCII text garbled on FTP download?"
- Next in thread: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Reply: Sybren Stuvel: "Re: ASCII text garbled on FTP download?"
- Reply: Bill S.: "Re: ASCII text garbled on FTP download?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|