[Samba] Incorrect format of Text

Brand, Thomas R. TRBrand at cvs.com
Fri Aug 15 18:37:09 GMT 2003


If the files were created on Unix, they will have Unix linefeeds; 
Notepad doesn't know how to deal with them.

FTP automagically changes the linefeeds from Unix to Windows.

Use MS "Wordpad" instead of Notepad.  Wordpad is more intelligent and 
can correctly interpret Unix & Windows linefeeds.


-----Original Message-----
From: Mario Valetti [mailto:Mario.Valetti at kytegroup.com]
Sent: Friday, August 15, 2003 12:12 PM
To: 'samba at lists.samba.org'
Subject: [Samba] Incorrect format of Text


Hi,

I am running Samba 2.2.8a on Solaris 8, and have shared out a directory
containing some simple text files.

The issue I am experiencing is the following:

If the files are FTP'd from the Unix box to a Windows machine and opened
using Notepad, the formatting is correct.  If the same files are either
opened directly or copied (from the Samba share) from the Unix box to the
Windows machine, and again  opened in Notepad, the formatting of the file is
completely messed up.

I have noticed, looking at the properties of the files from the windows box,
that there is a size difference between the files that are FTP'd and those
from the Samba share.

I am sure this has something to do with it.

One of those files details:

File through Samba share reads - 3.24 KB (3,319 bytes)
The same file Ftp'd reads - 3.37 KB (3,451 bytes)


Any comments on where I could start (besides getting rid of Windows) would
be appreciated.


Thanks,
Mario
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list