Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Generate Transfer Code is not Found

Ashish Singh wrote:

for some reasons I can't update to latest.

For what reasons?
Even if you cannot upgrade your production copy of WinSCP, you can still use a portable version of the latest release just to generate the code. Though it can happen that the generated code won't be 100% compatible with your old version.
But we do not support old versions of WinSCP. You must be using the latest version, for your own security.
Ashish Singh

Generate Transfer Code is not Found

Hi Team,
Thanks for the quick reply, but I was following your solution and unable to find "Generate Transfer Code" windo or any Script tab. I have WinScp version 5.5.3(Build 4214) and for some reasons I can't update to latest.

Please provide me the solution for this version.

Thanks in advance :)
Ashish Singh

Use SFTP tunneling in WINSCP script.

Hi Team,

I am working on a SFTP script using WINSCP which uploads files from one server to other. Everything is working fine but my main motive is to setup a tunnel between two servers for secure file transfer. As you can see in the below log statements :

. 2017-09-18 07:38:01.051 Session name: ilse_prod_eu@10.60.14.154 (Ad-Hoc site)
. 2017-09-18 07:38:01.051 Host name: 10.60.14.154 (Port: 22)
. 2017-09-18 07:38:01.051 User name: ilse_prod_eu (Password: Yes, Key file: No)
. 2017-09-18 07:38:01.051 Tunnel: No
. 2017-09-18 07:38:01.051 Transfer Protocol: SFTP
. 2017-09-18 07:38:01.051 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2017-09-18 07:38:01.051 Proxy: none
. 2017-09-18 07:38:01.051 Send buffer: 262144
. 2017-09-18 07:38:01.051 SSH protocol version: 2; Compression: No
. 2017-09-18 07:38:01.051 Bypass authentication: No

the Tunnel option is set to No.

Please help me how to use tunnel option in winscp script without using the GUI option.

Thanks in advance.