Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Automated Program for getting downloadable files

Automated Program for getting downloadable files

Scheduled Pinned Locked Moved Visual Basic
csharpcareer
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rucadulu
    wrote on last edited by
    #1

    I need to write a program that will navigate to a website, login, and download several files on a daily basis. I have no Idea :confused: where to begin on a project like this. If anybody has some code examples of how best to do this I would be very appreciative. I am not limited to VB.net for this project if someone fills another language would be better for the job please tell me. Thank You, Russell :)

    N C 2 Replies Last reply
    0
    • R rucadulu

      I need to write a program that will navigate to a website, login, and download several files on a daily basis. I have no Idea :confused: where to begin on a project like this. If anybody has some code examples of how best to do this I would be very appreciative. I am not limited to VB.net for this project if someone fills another language would be better for the job please tell me. Thank You, Russell :)

      N Offline
      N Offline
      nlarson11
      wrote on last edited by
      #2

      in vb.net 2005 look at my.Computer.Network.DownloadFile

      R 1 Reply Last reply
      0
      • N nlarson11

        in vb.net 2005 look at my.Computer.Network.DownloadFile

        R Offline
        R Offline
        rucadulu
        wrote on last edited by
        #3

        This is great code for doing direct connections like to a SFTP or https site. But do you know of any examples that show how to make a mini web-bot that only goes to one site everyday and navigates through a manual user login then has to select the correct report button and then copies and saves the report to file. If the company That I need to get the reports from would give us some sort of FTP, or SFTP, or direct http/https URL to work with the first examples you gave would be great. Well in the mean time I will keep working with the examples you supplied and see if I can get something working. Thank you for the link to the examples and wish me luck I am going to need it. Russell:)

        N 1 Reply Last reply
        0
        • R rucadulu

          This is great code for doing direct connections like to a SFTP or https site. But do you know of any examples that show how to make a mini web-bot that only goes to one site everyday and navigates through a manual user login then has to select the correct report button and then copies and saves the report to file. If the company That I need to get the reports from would give us some sort of FTP, or SFTP, or direct http/https URL to work with the first examples you gave would be great. Well in the mean time I will keep working with the examples you supplied and see if I can get something working. Thank you for the link to the examples and wish me luck I am going to need it. Russell:)

          N Offline
          N Offline
          nlarson11
          wrote on last edited by
          #4

          there is some example in codeproject.com that someone did that used a browser control in his vb.net application and using the dom object, clicked buttons, etc. search for it and see if you can adapt it to what you need...

          1 Reply Last reply
          0
          • R rucadulu

            I need to write a program that will navigate to a website, login, and download several files on a daily basis. I have no Idea :confused: where to begin on a project like this. If anybody has some code examples of how best to do this I would be very appreciative. I am not limited to VB.net for this project if someone fills another language would be better for the job please tell me. Thank You, Russell :)

            C Offline
            C Offline
            Carmine_XX
            wrote on last edited by
            #5

            You can use the System.Net.HttpWebRequest() and System.Net.HttpWebResponse() to do this. Do the login and navigate the web page with HttpWebRequest, then parse the HTML code (got by HttpWebResponse) and get the link for download file(s). Bye,

            Carmine, Webmaster of: www.thetotalsite.it My web blog: blog.thetotalsite.it

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups