samba and ascii file

James Sutherland jas88 at
Thu Oct 12 21:07:31 GMT 2000

On Thu, 12 Oct 2000, Laurencelle, Stephane (QUE) wrote:

> i my name is stephane laurencelle
> i like to know if there is an option in samba  so that i can transfert a
> file in ascii mode from win98 station to my unix serveur
> who sould receive the file in ascii mode to so that at the end my file is an
> ascii one , i thave tried to find something on the net but until now nothing
> help me 
> can you!
> n.b. the version of samba i'm using is 1.9.16p11 but upgrading is not a
> problem if i have to

The file will be identical at both ends anyway. If you are wanting
conversion between DOS (CRLF) text files and Unix style, try looking at
dos2unix. Or do this:

tr -s '\015\032' < dosfile.txt > unixfile


More information about the samba-technical mailing list