Browsing a file to upload and clicking open using powershell RRS feed

  • Question

  • Hello,

    I am having a tremendously difficult time trying to figure out how to insert a path to select and then click an 'Open' button in order to direct a webpage to a file I want to upload.  I can navigate through the website but as soon as get to the Browse button and automate the 'click' and the window pops up, I can't get powershell to find the file and select it to open/upload.  Would anyone know a easy way to do this?

    The reason for this is I need to upload a file (same name and location) every month to a website and I want to automate the entire process. 

    Thank you,


    Thursday, July 20, 2017 1:28 PM

All replies

  • You cannot access the file download dialog in IE through automation.


    Thursday, July 20, 2017 1:42 PM
  • Hi,
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.

    Best Regards,


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, August 11, 2017 4:44 AM