Multple file not Uploading
I'm not sure what is wrong in the below script it is uploading only one file and not returning any errors.
option echo off
option batch abort
option confirm off
# Connect to SFTP server using a password
open sftp://user:Password1@xxx.com/ -hostkey="ssh-rsa 1024 2d:3d:c0:26:54:08:cf:bc:ad:xx:xx:xx:5a:fa:66:
LCD B:\INVOICES\MMIS_Testing_Files\
put *.* /INBD/TEST/ -nopreservetime -nopermissions
# Exit WinSCP
exit
option echo off
option batch abort
option confirm off
# Connect to SFTP server using a password
open sftp://user:Password1@xxx.com/ -hostkey="ssh-rsa 1024 2d:3d:c0:26:54:08:cf:bc:ad:xx:xx:xx:5a:fa:66:
LCD B:\INVOICES\MMIS_Testing_Files\
put *.* /INBD/TEST/ -nopreservetime -nopermissions
# Exit WinSCP
exit