$ man unix2dos
$ man dos2unix

For text files only, I believe.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Blane Bramble
Sent: Tuesday, February 03, 2004 8:03 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] ASCII problem ??


On Tue, 2004-02-03 at 12:56, [EMAIL PROTECTED] wrote:
> Hi
> Hope you can help me.  I have a problem transferring files from Unix
to Windows NT using Samba,  specifically the CR\LF is missing from the
files when they are transferred over.  In FTP I can choose the -ASCII
option and all is well.  I can overcome this problem myself by using tr,
unix2dos or sed to place the missing CR\LF characters.  The question is
can Samba add the CR\LF via an option like FTP does
> 
> 
> Regards
> Dave
> 

I think you are confusing file serving with file transfer - Samba is
designed as a file server - as such it is vital it does *not* make any
changes to files. The problem you have with transferring the files is a
result of file format differences between the platforms - if the files
are only being used by Windows machines then you need to look at why
they not in the correct format. If the files are being created by a unix
machine or process, then you need to look at how you can create them in
the correct format for Windows.

Blane.

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

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

Reply via email to