Links in scribble to rkt files and the like

In a scribble file (especially scribble/manual) I include hyperlinks to .rkt files and alike. However, clicking a link opens the file in the browser, it does not open it with DrRacket. This problem does not occur in .doc files made with micro-soft office word. How can I instruct scribble/manual to open a file with DrRacket instead in another window of the browser.? Oh yes. I have tried, several bowsers but never achieved my goal.
Thanks in advance, Jos

That's going to be tricky.

The first step must be to make sure the server is sending the correct mime type.
In addition you need a header to make it an attachment.

Thanks for the pointer. If it is very tricky I probably should forget it.