smbclient

Use smbclient command in your script to automate file transfer to Windows:

smbclient -U AXA-CANADA\\username -c "put file.txt dir\file.txt" //servername/path password
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License