Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: 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
Comments
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 Sergey Alexandrovich Kryukov 395
1 Maciej Los 268
2 OriginalGriff 230
3 CHill60 221
4 Sibeesh KV 139


Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 24 Feb 2013
Copyright © CodeProject, 1999-2014
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