Results 1 to 3 of 3

Thread: URGENT! How to resolve a URL to get actual downloadable file

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2007
    Location
    Ghana
    Posts
    120

    URGENT! How to resolve a URL to get actual downloadable file

    Hello guys. I would be grateful if someone could help me on how to resolve a download URL. What I mean is, usually certain sites have the URL to a file such as an mp3, for download in this manner:

    Code:
    http://www.bigxgh.com/wp-content/plugins/download-monitor/download.php?id=2364
    without the file name at the end such as:
    Code:
    http://www.bigxgh.com/wp-content/plugins/download-monitor/themusicfile.mp3

    but however, download managers are able to grab the actual file in any case.

    Can any smart person here be able to help on this issue.
    I will be very grateful. Thank you.

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: URGENT! How to resolve a URL to get actual downloadable file

    No they aren't... the download manager is reacting to the mime-type of the response... most web browsers are set to download mime-type multimedia/mp3 ... on the server side, often the file itself doesn't exist, or exists outside of the public website structure, it pulls it from where it is (db or file structure) and generates a stream and sends it back to the client, with the proper mime header on it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2007
    Location
    Ghana
    Posts
    120

    Re: URGENT! How to resolve a URL to get actual downloadable file

    Ok. thanx bro.

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