Re: destination directory has spaces in name
put -nopermissions -nopreservetime "\\WSIPR2\GSAP\ULTIPRO\EXPORT\Delta\*.txt" "/home/G4S Government Solutions/"
(note the slash at the end of remote path)
put -nopermissions -nopreservetime "\\WSIPR2\GSAP\ULTIPRO\EXPORT\Delta\*.txt" "/home/G4S Government Solutions/"
option batch on
option confirm off
open sftp://<edited_by_admin>:22 -hostkey="ssh-dss 1024 37:61:2d:68:24:65:39:88:c6:46:53:19:42:66:4f:64"
put -nopermissions -nopreservetime "\\WSIPR2\GSAP\ULTIPRO\EXPORT\Delta\*.txt" "/home/G4S Government Solutions"
exit