Topic "Issue with SFTP"

Author Message
[View user's profile]

Joined: 2013-09-11
Posts: 1
I am trying to script a task within SSIS to transfer files through SFTP. I've used the guide here with

option batch on
option confirm off
open s -hostkey="ssh-rsa 2048 xx:xx:xx:xx:bd:32:15:b1:cb:cc:c2:c1:71:0d:68:b6"

When attempting to connect through the GUI with the same settings I have no issue. When attemping this through the command line I cannot connect. It will say "Searching for Host..." for about 15 seconds or so, and then "Network Error: connection Timed out" I do not believe this is a network issue as I can connect through GUI. Am using the 5.1.7, windows 7.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24755
Location: Prague, Czechia
Turn on logging for both and compare the logs.
If you won't find the cause, please attach the logs here.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License