How to know if Download of a file is Complete

Advertisement

Sowmya
Joined:
Posts:
10
Location:
Bangalore

How to know if Download of a file is Complete

Hi,

I use the Winscp scripting feature in vb.net to transfer files back and forth from linux to windows..
I have a zip file on the linux machine that is downloaded to the local windows system through "get" command. immediately after this i try to extract the zip file on my local m/c. now, the problem is, when I run teh code,tracing line by line, things work fine. but, the code tries to extract files from a zip files which is not completely downloaded yet and hence throws err.

Can you please tel me how can i check if my download of zip file is complte through winscp scripting even before extraction?
This is very urgent. Your help would be highly appreciated.
Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: How to know if Download of a file is Complete

You have to wait for script to complete.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum