Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Shabaz11 #1
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
-
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: ... -
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,... -
[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... -
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... -
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... -
Stressed_Simon #2
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
-
Shabaz11 #3
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
-
johnab #4
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
-
Shabaz11 #5
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
-
johnab #6
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



Reply With Quote

