-
November 19th, 2008, 11:14 AM
#1
Manage WEB in background
Hi all, long time since last time i visit you.
My problem now is very rare i think, i need to login, manage and upload files to a third party web (like Imageshack), using an application in .net, so the upload will be automated by database data.
The problem is that i want to make it in background, so i can't use keyb & mouse macros, and at this point, i don't know how to make it possible.
Any ideas?
-
November 19th, 2008, 11:33 AM
#2
Re: Manage WEB in background
Is it an upload through a form submission?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
-
November 19th, 2008, 01:17 PM
#3
Re: Manage WEB in background
Yes, but need to store cookies at first place, so it's a little more complicated.
-
November 20th, 2008, 07:42 AM
#4
Re: Manage WEB in background
Think of it in simple terms.
You need to request the cookie - Thats one web request,
You need to request the form submission - Thats the second request.
I had to do something similar recently, but there was no cookie involved. My login and upload is all handled during the one request (form submission) like this:
*** CODE REMOVED TO PREVENT MISUSE ***
If you need to first login, then you need another HttpWebRequest object to login and get the cookie.
Hope this helps, let me know
Last edited by HairyMonkeyMan; November 24th, 2008 at 03:55 AM.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook
0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|