Agent to allow .mp3 download

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Agent to allow .mp3 download

    Creating a Coldfusion Stockmusic site. And I'm having issues allowing users to
    download the tracks they have purchased because of the differences between the
    way IE and Mozilla based browsers opperate.

    I was thinking of using an Agent or <CFHTTP> to download the track to the
    users harddrive. Any Ideas on how to go about this?

    Thanks

    Shabaz11 Guest

  2. Similar Questions and Discussions

    1. SSH-agent setting
      On Tue, Feb 15, 2005 at 06:23:27PM +0100, kilim wrote: Actually, it's simpler than that. Just add the following lines to your ..profile: ...
    2. Help with Micorsoft Agent
      I've developed a html page that uses the Microsoft Agent object with default character. When I try to view the page, the animation works properly,...
    3. [RFC] Initialisation of ssh-agent
      Hi, Currently I am writing a piece on the why and how of setting up SSH2 for public key authentication. For now it is in Dutch, but an English...
    4. HELP: Associated statement is not prepared - SQL Agent
      Hi ... I got a job using Web Publishing to generate report based on the data returned from store procedure. Lately, I got some funny problem...
    5. Intelligent Agent
      This installation is brand new and not an upgrade of any sort. Its on Linux 8.0 redhat on intel platform. When installing intelligent agent...
  3. #2

    Default Re: Agent to allow .mp3 download

    What issues are you having? The best way to acheive this is to store the music files out of the webroot and then use cffile and cfcontent to make the files available for paid download!
    Stressed_Simon Guest

  4. #3

    Default Re: Agent to allow .mp3 download

    The client is insisting on keeping the files in a secure web directory on a
    separate server.

    I have no issues accessing the files in Mozilla using the
    "http://username:password@domain.com/Secure/filename.mp3"

    But that syntax doesn't work in newer versions of IE.

    Can I use cffile or cfcontent to make those files avaiable?

    Shabaz11 Guest

  5. #4

    Default Re: Agent to allow .mp3 download

    cfhttp is of no use here. CFHTTP is used to initiate http calls FROM the CF
    server. If you want to serve files up from the server probably best to use
    CFCONTENT with the mime type set accordingly and server it up from a folder
    above the webroot,

    john.


    johnab Guest

  6. #5

    Default Re: Agent to allow .mp3 download

    Space is an issue. Is there a way to use cfcontent to sere up from another server?
    Shabaz11 Guest

  7. #6

    Default Re: Agent to allow .mp3 download

    you could store them on a network server, but I guess that's not an option?

    You could store them on another box, and when a user clicks on one to download
    the server retrieves the file from the remote server via a CFHTTP call, saves
    it locally and then serves it up with CFCONTENT. Problem here will come with
    the connection speed for the server to grab the file via HTTP - not ideal!


    johnab Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139