[Samba] Ascii mode in smbclient?

Giulio Orsero giulioo at pobox.com
Mon Jul 19 12:43:30 GMT 2004


On Mon, 19 Jul 2004 08:27:20 -0400, "William Beilstein"
<wbeilstein at raymourflanigan.com> wrote:

>Not true, I didn't say to assume or negotiate anything;
> I suggested that the option be there. Always do a binary transfer,
> except if the user explicitly says "ASCII" which would mean 
>that he wants to transfer an ASCII file between a Unix & dos machine.

Have you tried "translate"?

smbclient '\\host\share' -Uuser%pass -c 'translate; put ascifile'
...
CR/LF<->LF and print text translation now on
...

-- 
giulioo at pobox.com


More information about the samba mailing list