[Samba] Re: Incorrect format of Text

Failed Access mdonovan at edwtech.com
Fri Aug 15 16:41:15 GMT 2003


Sounds like line feeds.
Try opening the files in a proper text editor, jedit being the first one 
that springs to mind and check to see if they look correct.

Mario Valetti wrote:
> 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





More information about the samba mailing list