
Announcements
Hi community, I am making a Flow using PAD in order to download and rename a file exported from a website. The main issue here is that this .xls file is downloaded with a variable name. I need to standardize this so the file downloaded could be renamed with the current date. How can I do that? I just was able to add the current date to the file name but now I need to remove the default name with which it was generated (bear in mind the default name is variable and is always different)
Share your flow how you added the date. I am sure you have it in a variable.
You should be able to take that variable and use "Rename File" to rename it to whatever you want.
If, for whatever reason, you don't have it in a variable, we have done the following to get the most recently downloaded.xls:
Get files from Path and *.xls - under Advanced -> Sort by last modified descending
Use %Files[0]% for the most recent file
Best of luck!