[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ftp a .tar.gz as ascii or ftp?



"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/