How to change the file name while downloading it

Suppose I click on a link which downloads me a file with the name ABC but what I want to do is while Downloading I want to save it as DEF or say in the name of today’s date which is 13-06-2022

How do I achieve this ?

1 Like

Hello @Ishan_Shelke1

During downloading the file its difficukt to rename the file. So once the file got downloaded you can use Copy file or Move file activity to rename the file

In the Destination field provide the new Path and new filename.

Hi @Ishan_Shelke1

you can enable downloads different path option in your browser. Then you can rename the file name using typeinto activity to type the path with new filename during the execution.

or

you can use rename file activity to rename your filename as what ever you want with the same path.

Hi @Ishan_Shelke1

If the link is direct to the file which you’re downloading, then you can try this

else the solution by @Kalees9486 and @Rahul_Unnikrishnan will work too.

Thanks,
Shan K M

1 Like

Method 1: You can use Wait for Download activity to download a file, then you can use Rename activity to rename it.

image

image

Method 2: To rename a file before downloading, you can use Http request to download and name the file. You can configure download file name in “Download Resource”.

WebAPI package is required for Http request activity.

1 Like

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