[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] ftp a .tar.gz as ascii or ftp?
- Subject: Re: [cobalt-users] ftp a .tar.gz as ascii or ftp?
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Fri Jul 13 05:53:47 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Colin J. Raven" <cjraven@xxxxxxxxxxx> wrote:
> On any other occasion I would have known what to do. For example .exe, .db
> and .gif on the one hand...no argument, it's clear what to do....Binary.
On
> the other side of the fence there's obvious ascii like .txt .htm/html etc
> etc.
I missed the rest of this thread, but in the future a simple test would be
to open the file with a text editor, doesn't matter if it's windows or
linux. If the contents are human-readable it's ascii, otherwise binary. If
the file is so big you don't want to open it, on Linux you can pipe the
first X lines of it to a file and view that.
head -20 file_in > file_out; more file_out
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/