Results 1 to 8 of 8

Thread: Downloading files

Hybrid View

  1. #1
    Frenzied Member
    Join Date
    Sep 08
    Posts
    1,028

    Downloading files

    Is it possible to detect when a download link is clicked in a browser and then run an application that can also get the file name of the file that is wanted to download?

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,785

    Re: Downloading files

    Are you talking about a .NET WebBrowser control or just any old web browser application like IE or Firefox?

  3. #3
    Frenzied Member
    Join Date
    Sep 08
    Posts
    1,028

    Re: Downloading files

    Any old web browser application like IE or Firefox.

    I know that there are applications like Getright and other pieces of software that detect when a file is clicked on to download. How do these applications work?

  4. #4
    PowerPoster stanav's Avatar
    Join Date
    Jul 06
    Location
    Providence, RI - USA
    Posts
    9,167

    Re: Downloading files

    Quote Originally Posted by Simon Canning View Post
    Any old web browser application like IE or Firefox.

    I know that there are applications like Getright and other pieces of software that detect when a file is clicked on to download. How do these applications work?
    Those applications almost always install an add-on for the specific browser that they supports. Take the well-known Internet Download Manager application for instance, when you install the app, it'll ask you whether you want to integrate IDM to the browsers it found installed in your computers. If you answer yes, it will install the add-ons/plugins and those are what monitor/analyze the links and comunicate back to the main app.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  5. #5
    New Member
    Join Date
    Aug 12
    Posts
    12

    Re: Downloading files

    Well you could keep constantly refreshing the downloads folder

  6. #6
    Frenzied Member
    Join Date
    Sep 08
    Posts
    1,028

    Re: Downloading files

    @waddle1463:
    Well you could keep constantly refreshing the downloads folder
    That will not work as I want to run my application before the file downloads, not after it has finished or has just started.

    @stanav: I understand how they work, I am wanting to know how to do the same thing myself, via VB.NET. So I would need to write my own plugin then? How/where can I get some sample code to do this sort of thing?

  7. #7
    Frenzied Member
    Join Date
    Sep 08
    Posts
    1,028

    Re: Downloading files

    @stanav: Do you know how to do this in VB.net?

  8. #8
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    80,785

    Re: Downloading files

    Quote Originally Posted by Simon Canning View Post
    @stanav: Do you know how to do this in VB.net?
    Maybe for IE you could but, for other browsers, you almost certainly wouldn't use VB.NET. For instance, while I could be wrong (I've never actually done it) I think that Firefox extensions are written in JavaScript. If you want to learn how to write an extension/add-in for a particular browser then you should check the documentation for that browser.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •