The following command enabled me to send a file from a linux host to a Windows SMB share

<pre class="wp-block-code">```
smbclient "//<HOST / IP>/<SHARENAME>" -U $username -c "put /path/to/local/linux/file $targetfilename_on_windows_host"

```