Need to download couple files as background proces (General questions)
Hi ,
I am trying to download couple of files in background process
for(int iCnt=0;iCnt<lstFile.Items.Count;iCnt++)
{
_SFTP.getFile(txtLocal.Text+lstFile.Items[iCnt].ToString(),
txtRemote.Text+lstFile.Items[iCnt].ToString()
);
}
this is not working file,b'cas before the file is getting downloaded the
next file is been requested.How to override this.
Can u send me sample on this...to make it working
Bye
Ganesh
Re: Need to download couple files as background pr
Ganeshram,
I think setting sftp.Blocking = True prior to calling Connect should solve your problem. Can you try that?