Results 1 to 7 of 7

Thread: upload file to http

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    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

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    Re: upload file to http

    anyone gurus

  3. #3
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    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.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    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

  5. #5
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    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.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    138

    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

  7. #7
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    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
  •  



Click Here to Expand Forum to Full Width