Topic "winscp.com script is hanging when donwnloading too many files"

Author Message
armanit
[View user's profile]

Joined: 2017-10-16
Posts: 2
Hi Team,

My winscp.com script is hanging when I'm trying to download too many files at once.
It's downloading about half of them and hangs.
The problem is not in file size because I've downloaded a big archive and it was successful.
Pls help me to solve the problem.

This is the code I'm using to download the files.

exec.StdIn.Write(
"option batch abort\n"+
"option confirm off\n"+
"open sftp://xxx:xxx@xxx.com -hostkey=\"xxx\" \n"+
"get /download/* \"C:\\Program Files (x86)\\download\\ \" \n"+
"exit");
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Your duplicate (and answered) post on Stack Overflow:
https://stackoverflow.com/q/46799712/850848
Advertisements

You can post new topics in this forum

Search

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License