I have a SSIS package. Package has an Execute Process Task. Execute Process Task has a Executable property set as C:\Program Files (x86)\WinSCP\WinSCP.exe and Argument property set as below:
/console /command "open sftp://UserName:Password@sftpserverpath.com/ -hostkey=""ssh-rsa 1234 1x:2x:3x:4x:5x:6x:12:1x:21:60:81:e6:a2:3e:b3:c6""" "put \\ServeName\Share\Reporting\Weekly\*.txt /Reports/" /log="\\ServerName\Share\Reporting\Weekly\WinSCPLogs\winscp1.log" /loglevel=2 "exit"
I am running this package from SQL Server Agent Job. When I run the job it uploads the files then continue running for indefinite time. WinSCP log is attached here.
/loglevel=2
, the upload will take magnitudes longer?