Move downloaded file

Hi, I want to move a downloaded file, to another folder
I am using the wait for download activity and move file activity it looks like this
image
But it doesnt find the file that has been downloaded so I have the next error
Move File: Object reference not set to an instance of an object. That means there is no file

Hi @Juandix

that activity should be outside the wait for download activity, and the activity that should be inside would be the click activity to download your file

here is a example

Regards

HI @Juandix

Yes it will throw you the error , what you need to do is

After completing the download the file should be moved to another folder

the variable “filename” will be updated only after the file gets downloaded that is outside the wait for download activity

So use the move file outside and below the wait for download

Regards
Sudharsan

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.