• Hi,

    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?

    Thanks
    my website: http://www.ottimizzazione-pc.it

Viewing 7 replies - 1 through 7 (of 7 total)
  • May I ask why you would need to modify the users computer registry?

    Thread Starter arroccomatto

    (@marcomancosu)

    Hi Josh,

    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:

    <a href="http://www.mysite.com/myfile.reg">MenuShowDelay5</a>

    See if that makes it a download link.

    Thread Starter arroccomatto

    (@marcomancosu)

    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
    abc

    I see…

    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.

    Thread Starter arroccomatto

    (@marcomancosu)

    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 🙂

    Thanks 🙂

    And I’ll look around as well to see if there is another way to download the .reg file directly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issues when attaching .reg files’ is closed to new replies.