I want to insert some code for button, such that when clicked it will download a file from our intranet site and save it in a specific location. I’ve looked through some posts on this site, but not found what I needed. I can use the FollowHyperlink method, but I’m concerned that it may respond differently depending on settings in IE. For example, some may have it set to download Word documents to the PC while others may have it set to open the documents, while some may be prompted with a choice. Maybe I’m wrong and that won’t happen, but I’m concerned that it could.
If I knew it would always open the document, that would be easy to use the SaveAs method to save the file to a static location where I could find in code that follows the download. Or if I could set it to always download and specify the location to which it will download. Is there a registry setting I could access that has these settings?
I really don’t want to distribute an FTP application or library with the documents that contain my code as that will add a whole new layer of complexity to noncomplex users.
Thanks for the help!!
Troy