Support Portal

for ProcessRobot and WinAutomation

Start a new topic

Wait for a file to be downloaded

ADMIN

The attached example demonstrates a way to wait for a file to be downloaded on the Downloads folder.

waj

The logic is broken and the example doesn't work as expected - it goes into endless loop.


I recon that the idea is to monitor the file count and file size (of a single file) and if these values doesn't change then the file is done "downloading".

ADMIN

Hello Rasmus, the example checks the number of files and the size of the most recent file. It is recommended for cases where only one file is downloaded at the same time and its name is not known beforehand. In case the file name is known, there is the 'Wait for File' action that does the trick.

Login or Signup to post a comment