Right-click the link to the file and select "Save link as..." or "Save target as..." . Choose your destination folder and click Save.
If you have a link to a specific text file (such as an SEC filing), follow these steps to download it rather than just viewing it in your browser:
Long-press the link and select "Download link" . Troubleshooting How to Download the Text file
Drainage Derbyshire