Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Execute Process Task to WinSCP a file

$
0
0

So I have an Execute Process Task to WinSCP a file. Only our remote server has been granted access to the Secured FTP Site. So I am trying to run the Execute Process Task to WinSCP the file locally specifying the Executable in a Variable

@WinSCPExecutableFullyQualifiedPathName and defined as...

\\servername\c$\WinSCP\WinSCP\WinSCP.com

I have defined the Site on the Remote Server using the WinSCP UI and have designated that exact name in the open command

option batch abort
option confirm off
open sitename.location.com
lcd C:\
option transfer binary
put "%1%" "%2%"
close
exit

When I execute the SSIS Package locally, it opens up the command window when it reaches that point, it says...

Searching for host...

Network error: Connection to "sitename.location.com" timed out

I know this works because when I remote desktop into the remote server and access WinSCP I do indeed see that Site name.

Is this an issue trying to execute the WinSCP.com remotely?

\\servername\c$\WinSCP\WinSCP\WinSCP.com

Can anyone help me here? I'm kind of at my wits end about this.

Thanks for your review and am hopeful for some feedback.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>