Go to URL and download the item to a specific folder

I would like an application that can go to a specific URL and download the item I tell it to and have it download the file into a specific folder on my desktop. I’ll input the download item, folder name, and URL myself later. I think I know how to go to a URL, I just dont know about the rest.

Thank you for your help.

Best Regards,
Benjamin

do shell script "curl http://path/to/file.txt > /Users/admin/Desktop/file.txt"