Missing files during the download.

Advertisement

armanit
Joined:
Posts:
2

Missing files during the download.

Hi Team,

I'm trying to download about 40 files from SFTP server and it's downloading only 30 of them and hangs.
Pls help to fix the problem.

This is the script I'm using.

var exec = shell.Exec("winscp.com /xmllog=\"C:\\download\\log\\download.xml\" ");
exec.StdIn.Write(
"option batch abort\n"+
"option confirm off\n"+
"open sftp://xxx:xxx@xxx -hostkey=\"xxxx\" \n"+
"get /download/* \"C:\\download\\\" \n"+
"exit");

Thanks
Arman

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum