Install samba clients.

smbclient -U 'domain\login' '//machine/share' 'password'

Use the standard FTP command like: ls, cd, get, etc.