I would like to attach a .reg file to a post. Ideally, when the user clicks on the link the download of the file should start automatically (prompting the user to accept it, but I suppose this depends on the browsers security settings. It’s what happens to me with Firefox when I download files from Internet).
I have tried several ways to get this but the only result I could obtain is a link in the post to an internal url (example: /wp-content/uploads/2013/04/menushowdelay5.reg) where the user can visualize the content of the .reg file as text. But it’s not what I need.
Would you please help me to understand what to do?
my website: http://www.ottimizzazione-pc.it
May I ask why you would need to modify the users computer registry?
The main topic of the website is how to optimize and speed up your computer, and in a few posts changes to the registry are recommended.
The computer knowledge of the visitors is different so rather than explaining every time how to create a registry key (which could be dangerous if they are not familiar with the registry) I would prefer to let them download a .reg file and merge it – it’s easier, it’s what I have been requested from some of the visitors and it’s common practice for other websites with the same topic, such as http://www.sevenforums.com/.
There are no harmful intentions behind this.
Fair enough. I just didn’t want to help you cripple peoples’ computers 😉
Okay. to get it as a download.. try wrapping the actual file with a link.
Something like this:
See if that makes it a download link.
Thanks Josh – I can see your point anyway
I had tried that without success, it opens a page where the content of the reg file is displayed as text but doesn’t start any downloading processes. This is the link I had created
Can you make it a .zip file? I know it’s an extra step for the end user… but I’m pretty sure .zip files will prompt the download.
Great workaround. That works!
I’ll use that solution, unless somebody else reading this post finds a way to trigger the download of the .reg files.
Thanks Josh – I’ll give a try to your plugin, the column break function looks interesting 🙂
- The topic ‘Issues when attaching .reg files’ is closed to new replies.