SAMBA digest 2399 / problem in transfer of files

Axel Neumann amn at cromemco.com
Wed Feb 2 08:19:24 GMT 2000


Ranganath wrote:

>I have configured samba on my unix server and also on my windows client
>machine. I have successfully mapped the network drive and could browse
>through the unix file system. The problem is, when i create a text file 
and
>transfer it to unix machine and see through the vi editor there r control 
M
>characters, that is it is doing a binary transfer. how do i control it to 
do
>a ascii transfer.

>Thanks in Advance
>Ranganath

Hi,

Samba does only do binary transfers (see CRLF-LF-Conversions.txt in the 
source distribution of Samba).

So you have to use on the PC an editor that is able to save text files in 
the UNIX style (with only LF). Or you have to convert these files later on 
the UNIX side.

Best regards,

Axel Neumann



More information about the samba mailing list