On Sat, 2004-07-17 at 05:36, William Beilstein wrote:> I know that the smbclient only supports binary transfers. Is there any way
> to use samba that will perform the equivalent of the ASCII mode in FTP. In
> other words, change CR/LF to LF in Dos -> Unix transfers and to change
LF to
> CR?LF in Unix to Dos transfers?
>
> My site is only using samba to transfer between Windows and Unix machines.
> And while I know that I could use ?unix2dos? and ?dos2unix? for the
> transfer, it would be nice if the transfer took care of it.
>
> This would seem to be a natural. Modify smbclient to understand the
?BINARY?
> and ?ASCII? commands and transfer accordingly.
No. That would then make us have to assume the type of the server
(which we don't know, and can't negotiate) and risk data corruption.
Andrew Bartlett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :
http://lists.samba.org/archive/samba/attachments/20040717/271cff6b/attachment.bin