KeyRoutines
StepProweb.download

Download a file from a URL automatically on Windows 11

Download file saves a file from a web address into a folder you choose, or your Downloads folder. It needs KeyRoutines Pro and works well for fetching the latest version of a tool, a report or a data file on a schedule.

KeyRoutines Pro is a one-time $29.99 upgrade for up to 2 PCs.

How it works

  • Enter the address; leave the folder empty for Downloads and the file name empty to use the site's name for it.
  • If a file with that name already exists, choose to add a number, skip, or overwrite.
  • The file is written under a temporary name until it's complete, and a download that fails or grows past the size limit is removed.
  • Finished files are marked as coming from the internet, just like browser downloads, so Windows treats them with the same care.
  • The step outputs where the file landed, and the download can be undone later with Undo file moves, which sends it to the Recycle Bin.

Routines that use it

Weekly report

At a time on Monday at 08:00 downloads the latest report, and Open file or folder opens it for you.

Fetch and unpack

Download a zipped tool, then Unzip file extracts it into your tools folder.

Wallpaper of the day

Download a daily picture into a fixed file name with overwrite, then Set wallpaper shows it.

Settings

SettingWhat it does
UrlThe address of the file, like https://example.com/setup.exe.
FolderThe folder to save into. Empty: your Downloads folder.
File nameThe file's name. Empty: the name the site gives, else the end of the address.
If existsWhen a file with that name is already there.
Sign inadvancedHow to sign in. The token comes from the vault and is only sent to the sites it is allowed for.
TokenThe secret to sign in with.
UsernameThe user name; the secret is the password.
Key nameThe header or query name the token goes in. Empty: X-Api-Key for a header, api_key for a query value.
Max sizeadvancedStop and remove the file when it grows past this size.

Good to know

  • The default size limit is 2 GB and can be raised to 20 GB.
  • A download has up to 10 minutes to finish.

Questions

How can I download a file automatically every day?
Create a routine with At a time and a Download file step for the address. Choose overwrite if you always want the newest copy under the same name.
Where do downloaded files go?
Into the folder you set, or your Downloads folder when it's empty. The step tells later steps the exact path.

Pairs well with

Build this routine in KeyRoutines

Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.