Thanks Martin, that works nice!
- fjbass78
option batch abort
option confirm off
open sftp://Account:password@FTX-SERVSH.bnymellon.com/ -hostkey="ssh-rsa-9e-c2-dd-6d-86-a6-30-56-9d-ea-99-de-ff-c3-5f-2d"
synchronize remote \\amna1wgraapx01\apx$\rep\jpmDailyReports\ /advent