문제

I'm trying to develop an automation script using PowerShell that will log in to a website, fill out a form, and upload one or more files. Logging in and form-filling are trivially easy using IE's COM interface. However, the website uses an ActiveX control (Aurigma Uploader) to do the file uploading.

Is there a way to reference this control from PowerShell? I am hoping that once this is done, I can call various methods in the control and hopefully get it to do what I want.

Also, the website is not under my control, so doing this inside the browser (javascript) is not possible.

Thanks for your help!

도움이 되었습니까?

해결책

You cannot upload files through Aurigma Uploader without end user interaction. This is done by design due to security reasons.

I.e. there is no API for adding files to upload list even if you can get reference to control.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top