[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File truncated at ^Z character in windows
From: |
Ehud Karni |
Subject: |
Re: File truncated at ^Z character in windows |
Date: |
Wed, 18 Feb 2004 10:26:06 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 17 Feb 2004 22:13:18 +0200, Eli Zaretskii <eliz@elta.co.il> wrote:
>
> > From: John Russell <jorussel AT cisco.com>
> > Date: 17 Feb 2004 14:15:12 -0500
> >
> > I copied the offending file from a samba share on my linux machine
> > over to the windows machine. I didn't open it or edit it with any
> > editor until NTEmacs opened it.
>
> So it sounds like samba did this.
I don't think it is a samba problem. We employ a samba (on GNU/Linux)
with a share of over 50GB and about 200 M$Windows users. It is working
over 3 years and no one reported any such problem.
- From my experience it work just like any M$Windows share.
The only way it can happen is if the copy was a TEXT copy (i.e. not
binary). The M$Windows `copy' has switches that control its mode:
/A Indicates an ASCII text file.
/B Indicates a binary file.
> Anyway, the advice to move the files in an archive, like a tar.gz
> file, is still valid, I think.
I think that is because the M$Windows `copy' select the mode (text/
binary) according to the file extension if not specified explicitly.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)
iD8DBQFAMyGdLFvTvpjqOY0RAvnKAJ0fE0Im1u2jdYuXVfLiJX/Y0X30lwCfcIZ0
QHq11DqDKOBokIxd6C5Bbdk=
=f9mi
-----END PGP SIGNATURE-----