Use Samba to copy file to Windows

From NazimWIKI
Jump to navigation Jump to search
smbclient //<WINDOWSSERVERNAME>/<SHAREDIRNAME> -A myauth.auth -c "put <sourcefilename> <windowspathname><destinationfilename>"

myauth.auth file is the authorisation file with the following information in it

username =
password =
domain =