Jump to content

Upload files to file sharing servers

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
avosoft

avosoft

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Hello guys,

Am an intermediate vb programmer, and am trying to write a program in vb that will upload files i choose to file servers like MegaUpload, MediaFire, RapidShare
But i don't really have an idea of how to start. Does this file sharing websites have api that i can use.? if i have to use winsock or inet control, any suggestion as to how to go about it? How do i handle login into website and upload to a users webspace?

thanks
Programming is all about good logic. Spend more time here

vHost for Apache:thumbup1:

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Well I would lay it out like this:

  • Get on website
  • Login
  • Get File to up load
  • Upload file to server
So using some textboxes to get the info you need(website, password, file path....ect) then research how to use WebRequest's to do login and fill out the upload file form and press the upload button, and I think you'll be set.

EDIT* These might get you started. ;)
http://forum.codecal...nt-website.html
http://www.dreaminco...ogrammatically/

Hope this helped. :)
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
avosoft

avosoft

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
Thanks for the reply, but the problem is that most of these sharing server use css/ajax dialog.
how do i fill the form the. the webbrowser page load complete will not fire!
Programming is all about good logic. Spend more time here

vHost for Apache:thumbup1:

#4
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
Well my biggest suggestion is to just google, because I don't use WebRequest very often. But I would find out if the forms are HTML, ajax or whatever and google how to fill them out and click submit. :)
HTML:
Let me google that for you

AJAX:
Let me google that for you

Ain't that thing cool! :D
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.