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
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