|
-
Aug 9th, 2010, 10:41 AM
#1
Thread Starter
Addicted Member
upload file to http
hi gurus
I need to upload a file to an online file system(trueshare)jus in case someone wants to know what I am talking about, it has username and password and uses post to get information, how do I go on doing this.
Thanks a bunch gurus
-
Aug 10th, 2010, 10:27 AM
#2
Thread Starter
Addicted Member
-
Aug 10th, 2010, 07:13 PM
#3
Fanatic Member
Re: upload file to http
i'd say just use the post feature...
its in the webclien.
Should'nt be too hard to do what it needs to do.
-
Aug 11th, 2010, 09:56 AM
#4
Thread Starter
Addicted Member
Re: upload file to http
thanks TC
so use webclient instead of httpwebrequest is the best way to go, can you point me to some examples?
Thanks
-
Aug 11th, 2010, 12:29 PM
#5
Fanatic Member
Re: upload file to http
i cant think of any examples off hand, however...
Download Fiddler2
There is also a add on for it (found on the site) for vb/c#.net
You then goto said website, upload a file, whatever. Then drag the request to the code, and it'll make the code request. You can use that as a good example to base it off.
-
Aug 11th, 2010, 01:11 PM
#6
Thread Starter
Addicted Member
Re: upload file to http
Tc
Thanks a bunch for your help, I realy dont want to sound ignorant but can you be more clear on what you are talking about, I am a little lost
Thanks
-
Aug 11th, 2010, 01:32 PM
#7
Fanatic Member
Re: upload file to http
Step 1. Download a program called Fiddler2 (from: http://www.fiddler2.com/fiddler2/)
Step 2. Install Fiddler2
Step 3. Download Chad Sowald's Request-To-Code (Fiddler2 Addon) from: http://www.chadsowald.com/software/f...equest-to-code
Step 4. Install said addon.
Step 5. Run Fiddler2.
Step 6. Navigate to said website you are trying to interact with.
Step 7. Fill out the form you are trying to interact with.
Step 8. Submit form.
Step 9. Locate specific request within Fiddler2
Step 10. On the right side of the program, there is a tab called 'Code'. Click it.
Step 11. Drag the specific request onto the code.
(It will make code in VB(or C# if you select it) to simulate the SAME REQUEST)
That will allow you to analyze it, and see what its doing.
Alot of the code it produces is..un needed. But it will give you a good idea.
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
|