Wait for download activity capturing wrong file name

hello, sorry i m new here. i am having trouble with the wait for download activity using UiPath studio when the downloaded file is too big.

I chose the monitored folder to be my downloads folder. for the downloaded file, i listed a variable name (filename).

when i downloaded smaller files (3 months data) using this method, it works fine and i can then move the downloaded file into another folder using the move file activity. from: filename.fullname; to: pastfolder.

when i download large files (3 years data) using this method, it gives me this error

Move File: Could not find file ‘C:\Users\xxx-xxxx\Downloads\eadf43c8-f944-41d3-87dd-e66ffb3f7d4f.tmp’

How to correct this? please help me.

Hi @jollie_ng

In the wait for download activity, there is an option called Ignore Files. In that give these extensions “tmp,dwn”.

Then it will avoid the temporary and catch files.

Hope it helps!!

2 Likes

Try with below logic :

counter = 0

WHILE counter < maxRetries
Delay (wait)
Check App State: “Your report is ready!”

IF Exists = True
    Log "report ready"
    counter = exit value
ELSE
    (nothing)
END IF

counter = counter + 1
Log counter

END WHILE

Hi @jollie_ng
Try this
1 Increase timeout in Wait for Download.|
2 Enable Wait for download completion.|
3 Before moving, check the file is NOT .tmp / .crdownload.

Cheers

@jollie_ng

if you dont ignore temporary extensions it might fail with it

so ignore the following in the properties ‘crdownload,tmp,dwn’ if you find any other trmporary extensions add them as well

cheers