Why does the download url change everytime I select a file? Can I pin it?

The download url is randomly created whenever a file/directory gets selected for sharing and only stays valid as long as the resource stays selected as well. This is a security feature which replaces credentials as a means of access control. A static url per file would go against the design and are therefore not supported.