[Samba] Problem in reading a file using smbclient.

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Nov 17 23:52:37 MST 2011

On Fri, Nov 18, 2011 at 11:15:21AM +0530, nishant mungse wrote:
> Hi all,
> I am facing a problem in reading the file contents using smbclient.
> Command:: bin/smbclient //localhost/ubuntu -Ubase%base_system
> The smb prompt appears, when read the file without smbclient it contains
> some data, but when try to read through smbclient ie. "print <filename>"
> it erases all data present inside the file.
> Why is this happening and how to read and write to file using smbclient.

Use "get <filename> -"


More information about the samba mailing list