Re: Formatting ASCII to be read by Windows NotePad
- From: "Waylen Gumbal" <wgumgfy@xxxxxxxxx>
- Date: Thu, 3 Jul 2008 21:29:08 -0700
Sherman Pendley wrote:
"Waylen Gumbal" <wgumgfy@xxxxxxxxx> writes:
Sherman Pendley wrote:
UnRiel <bdwhite@xxxxxxxxx> writes:
I have a nice PERL script I use to generate CISCO configurations
No need to shout - neither Perl nor Cisco are acronyms.
I don't think two all-caps words in a sentence that's otherwise
properly cased really constitutes shouting.
It's shouting those words.
Not in that context it wasn't.
Transfer the files in text mode. That will translate the line
endings as needed.
While it is common to use ASCII mode one should still take care, as
this isn't always guarenteed to work. There used (still are?) issues
with this when uploading to MacOS based servers, for example.
Such as?
I've had issues in the past uploading to a MacOS based ftp server
(remember that Mac uses \r for line endings, where as Win32 uses \r\n,
and most Linux and Unix systems use \n) and when uploading in "ASCII"
mode, the line endings became \n instead of \r (this happened with 3
different ftp clients, including the command line ftp client, so I
attribute the problem likely was the server wasn't properly telling the
client what sort of platform it was (what line endings it used.)
I'm sure theres other examples of this problem; it can come from
improperly configured ftp servers or clients too.
--
wg
.
- Follow-Ups:
- Re: Formatting ASCII to be read by Windows NotePad
- From: Sherman Pendley
- Re: Formatting ASCII to be read by Windows NotePad
- References:
- Formatting ASCII to be read by Windows NotePad
- From: UnRiel
- Re: Formatting ASCII to be read by Windows NotePad
- From: Sherman Pendley
- Re: Formatting ASCII to be read by Windows NotePad
- From: Waylen Gumbal
- Re: Formatting ASCII to be read by Windows NotePad
- From: Sherman Pendley
- Formatting ASCII to be read by Windows NotePad
- Prev by Date: Re: Threads don't seem to work as advertised
- Next by Date: Re: kill process when file number reached...
- Previous by thread: Re: Formatting ASCII to be read by Windows NotePad
- Next by thread: Re: Formatting ASCII to be read by Windows NotePad
- Index(es):
Relevant Pages
|