Results 1 to 6 of 6

Thread: Directory Downloader

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    5

    Directory Downloader

    Is it possible to make a VB Application that does the following

    1. Connects to an http dir eg http://www.something.com/videodump/
    2. It downloads all the content in that folder.
    3. If the file has already there when you tell it to re-search the video dump that its not there.
    4. It grabs the name of the file it downloads and keeps it that name


    Am i looking into programming in VB? Or what should i do? Anyone know of examples i can look at?

    Thanks in Advance!




    PS.

    My application that ive started all it does is downloads 1 file but you have to manually name it which im not wanting and you can select where it goes.

    Ive uploaded the source
    Attached Files Attached Files

  2. #2
    Frenzied Member
    Join Date
    Jul 2007
    Posts
    1,306
    IIF(Post.Rate > 0 , , )

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    5

    Re: Directory Downloader

    Thank you very mcuh, So the rest that i want todo is possible?

    I think ill use the Winsock as i can multi download files, What would i do regarding the queue and indexing of the http directory so it downloads all content?

    Thanks again

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Directory Downloader

    There's no way to get a list of files in an HTTP directory unless that server has directory listings enabled, is that how you're doing it?

    I made a program to download files with Winsock which should help make things easier for you. Check out the link in my signature.

    It comes as a UserControl and you can just create an array of them and download multiple files simultaneously with them...

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2008
    Posts
    5

    Re: Directory Downloader

    Quote Originally Posted by DigiRev
    There's no way to get a list of files in an HTTP directory unless that server has directory listings enabled, is that how you're doing it?

    I made a program to download files with Winsock which should help make things easier for you. Check out the link in my signature.

    It comes as a UserControl and you can just create an array of them and download multiple files simultaneously with them...
    Very nice man

    Would you mind if i used yours as a base?

    I am wanting to connect it to a server i own and for it to download contents of the directory automatically, And if a new file is added it downloads it, Making it check to see if you already have that file.

    Also how it pops up with the Save menu, Ive taken it out and changed a few things but it doesnt create the file, Any ideas?

    Sorry for all the noob questions

    Thanks
    Last edited by Silentone; Mar 24th, 2008 at 12:02 AM.

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Directory Downloader

    Quote Originally Posted by Silentone
    Also how it pops up with the Save menu, Ive taken it out and changed a few things but it doesnt create the file, Any ideas?
    You would have to show us what you are doing in order for us to have any viable suggestions.

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