Hi Guys,
I have to download CSV file from browser, and have to rename it as (MyName+today date+ time).
Can someone please help ASAP.
Hi Guys,
I have to download CSV file from browser, and have to rename it as (MyName+today date+ time).
Can someone please help ASAP.
use rename file Activity for performing this task.
Use this screenshot:
Yes, But in “Raname” Activity, we need to provide the file name. which will download.
But I am finding difficulties in that to select the file, coz without download I can not select.\
you can use the filter for finding the latest downloaded file in your folder.
Use this expression :
“vaibhav”+(Cdate(Now.ToString).ToString(“dd”)+Cdate(Now.ToString).ToString(“hh:mm:ss”)).ToString.Replace(“:”,“”)+“.xlsx”
Hi Shubh,
while you are downloading or saving that attachment use variable which store path of that file.
Then use substring and change the name accordingly.
Best Regards,
Sagar Rana
Hi @Shubh_k
Use the activity wait for download and take the output variable(eg:csvfile) from that and use it in Rename file activity and give the input as csvfile.fullname.
It will work for 100%