Click here to Skip to main content
11,805,604 members (62,887 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB VB.NET Browser
i need to upload a file on a web form, when i click the upload button, a filedialog appears where i have to search and select the file

i would like to automate this process(so make a program that automatically selects a file to upload to the web form)

does annyone know how to do this???

i've managed to log in to the website, fill in the form and trigger some onchange events but now i'm stuck with the automatization of the file selection for upload
Posted 24-Feb-13 1:48am
Sandeep Mewara at 24-Feb-13 9:46am
Is that not a security issue? If an application automatically uploads something from my computer without asking me anything, I will be pissed!
loggfreak at 25-Feb-13 11:41am
it's notlike that, it asks you to upload the file, but it doesn't ask you to manually search for the file, it locates the file himself
loggfreak at 25-Feb-13 11:42am
but yeah i think the seurity has something to do with the reason it's so hard to do

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 3,265
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 24 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100