Topic "How to know if Download of a file is Complete"

Author Message
[View user's profile]

Joined: 2010-08-03
Posts: 10
Location: Bangalore

I use the Winscp scripting feature in 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.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
You have to wait for script to complete.
Martin Prikryl

You can post new topics in this forum

Search Site

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License