Using CFCONTENT to deliver files is not the best solution, don;t
forget that files have to be loaded into memory before they are
delivered, so can have adverse effects.
Another solution posted by Pete Freitag last week was
installing mod_xsendfile (you can get this for both Apache and IIS 7 via
He
Hi Mark
As far as I know, you'd need to do this use cfcontent/cfheader to deliver a
file, that itself sits outside of the web root but still accessible to the
CF server. If the file is within the web root, and someone has the url, CF
(as far as i know) cant control access to it if the file-url is
I am trying to create a CF template that will allow users to download files
that that have names matching a specific criteria.
For example,
Sample File Names in directory
133555_xyz
133600_abc
223450_abc
340126_oop
349888_abc
If id code ='349234'
allow download of any file name
> You mean you are using If so you can add accept="[MIME-type]"...
> Replace [MIME-type] with your chosen file type definition...
Yes, that is correct. But that did not do what I wanted. When the "browse"
window comes up it comes up looking at all file types (filter *.*). I'd like
to make the bro
You mean you are using When you are using enctype="multipart/form-data" to create a browse field
>for file selection, is there any way to define a default file type filter
>for the browse/select window? Right now it come up with the filter *.*. How
>could I make it come up with say, *.gif or *.jpg
When you are using enctype="multipart/form-data" to create a browse field
for file selection, is there any way to define a default file type filter
for the browse/select window? Right now it come up with the filter *.*. How
could I make it come up with say, *.gif or *.jpg?
This has always bothere
I was just messing around...no offense intended.
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:41 AM
To: CF-Talk
Subject: RE: Remote access to CFC? Browser trying to download file
instead of "running" it.
I think you're confusing
I think you're confusing me with someone else... Why would I ever want to
learn ASP?
> -Original Message-
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 16, 2006 10:26 AM
> To: CF-Talk
> Subject: RE: Remote access to CFC? Browser trying to downlo
BAD Russ! Now go read your ASP for Dummies book.
;)
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:18 AM
To: CF-Talk
Subject: RE: Remote access to CFC? Browser trying to download file
instead of "running" it.
I know that, but I should
I know that, but I should've though to check the headers since he provider a
url...
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 16, 2006 9:56 AM
> To: CF-Talk
> Subject: RE: Remote access to CFC? Browser trying to downlo
just never knew about it.
He's setting it up right now and here's to hoping it'll work.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 9:07 AM
To: CF-Talk
Subject: RE: Remote access to CFC? Browser trying to download file
ins
> That last line seems to indicate that it allows CFCs to be
> run via the browser window? Would this affect creating a
> connection to the CFC via createObject? Because that method
> works fine on both local and remote.
Creating an instance of a component doesn't involve the web server at all.
> How did I miss that he's using Apache?
He didn't say he was using Apache, I checked for myself.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Ba
works fine on both local and remote.
I'll ask my system guy to check for that line on our server's conf file.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 8:38 AM
To: CF-Talk
Subject: RE: Remote access to CFC? Browser trying to down
We're using Apache, mySQL, PHP and Cf 6.1 all combined.
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 8:33 AM
To: CF-Talk
Subject: RE: Remote access to CFC? Browser trying to download file
instead of "running" it.
Your web server
.cfml .cfc .cfr .cfswf
You are probably missing the .cfc in your AddHandler line.
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 16, 2006 9:38 AM
> To: CF-Talk
> Subject: RE: Remote access to CFC? Browser trying to download file instead
> Does anyone know why this might be happening? Is there some
> setting in cfadmin panel that might be causing this behavior?
> When run via a standard function call, the cfc works just fine.
This indicates that the connection between the web server and CFMX is not
properly configured. Since you
e access to CFC? Browser trying to download file instead of
> "running" it.
>
> I'm having some problems with accessing a CFC via an AJAX request. It
> works
> locally, but on the server it gives me a "method not allowed" error.
>
> I'm using the JSM
I'm having some problems with accessing a CFC via an AJAX request. It works
locally, but on the server it gives me a "method not allowed" error.
I'm using the JSMX library and on his suggestion I tried accessing the CFC
via an HTTP request. On my local computer, it launches the CFADMIN panel, I
lo
heh Oh ok cool glad to help didn't think that I was being that helpful
but you never know. It's always the little things that get you.
- Original Message -
From: Andy Ousterhout <[EMAIL PROTECTED]>
Date: Sat, 28 Aug 2004 08:24:21 -0500
Subject: RE: Download file
To:
: Download file
heh, man ok place this in your HTML doc:
this file
Ian
- Original Message -
From: Andy Ousterhout <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 21:37:03 -0500
Subject: RE: Download file
To: CF-Talk <[EMAIL PROTECTED]>
Actually, you are r
heh, man ok place this in your HTML doc:
this file
Ian
- Original Message -
From: Andy Ousterhout <[EMAIL PROTECTED]>
Date: Thu, 26 Aug 2004 21:37:03 -0500
Subject: RE: Download file
To: CF-Talk <[EMAIL PROTECTED]>
Actually, you are right on that this is probably so e
Actually, you are right on that this is probably so easy that you don't
understand why I am asking. I just don't know how to put the direct link in.
-Original Message-
From: Chris Johnston [mailto:[EMAIL PROTECTED]
I am still a little unclear as to what exactly you are trying to
On Thu, 26 Aug 2004 20:19:20 -0500, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
>
> I enable users to create a csv file from a database on the web for them to
> pull into Excel to play with as they would wish. All users DSL or faster.
>
I am still a little unclear as to what exactly you are try
: CF-Talk
Subject: Re: Download file
On Thu, 26 Aug 2004 15:39:57 -0500, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
> What command do I use to download a file I've already created?
>
From where, using what kind of technology over what kind of
connection? More detai
On Thu, 26 Aug 2004 15:39:57 -0500, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
> What command do I use to download a file I've already created?
>
>From where, using what kind of technology over what kind of
connection? More details will solicit a better answer.
--
chris johnston
www.fuzzylizar
What command do I use to download a file I've already created?
Andy
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
> Well how do I fix that then? I have to have my DNS settings
> to get ip address and DNS server info automatically, and
> can be different at any time. My gateway to ASDL is
> 192.168.0.1 and that is the only way it can set up. All
> the other machines on my system have to be set up like
> th
003 5:47 AM
To: CF-Talk
Subject: RE: This is DEFINITELY a faulty download file and install
routine .
Also, when JRun starts, it does a reverse lookup to match against your
local host name definition and compares it to the one in DNS, therefore,
your hostname must be set to your machines actual DNS
>Also, when JRun starts, it does a reverse lookup to match against your
>local host name definition and compares it to the one in DNS, therefore,
>your hostname must be set to your machines actual DNS entry. Otherwise JRun
>will not start, and the connector will fail.
This seems to be the problem
-
From: Dave Watts
To: CF-Talk
Sent: 3/8/2003 7:10 PM
Subject: RE: This is DEFINITELY a faulty download file and install routine .
> 09/03 12:17:03 error Could not connect to any JRun servers
> on host localhost.
Are you running any kind of personal firewall software? If so, you may
need
to d
> 09/03 12:17:03 error Could not connect to any JRun servers
> on host localhost.
Are you running any kind of personal firewall software? If so, you may need
to disable it or exclude the ports used by JRun (which escape me offhand).
There's a technote on the MM site which lists all the ports used
>[quote]
># Created by JRun on 09/03 12:17:02
>09/03 12:17:02 info Macromedia JRun 4 (Build 47304)
>09/03 12:17:02 debug os.name: Windows 2000
>09/03 12:17:02 debug os.version: 5.1
>09/03 12:17:02 debug os.arch: x86
>09/03 12:17:02 debug platform: intel-win
>09/03 12:17:02 debug web server: IIS
>09
: Chris Kief [mailto:[EMAIL PROTECTED]
Sent: Sunday, 9 March 2003 1:09 PM
To: CF-Talk
Subject: RE: This is DEFINITELY a faulty download file and install
routine.
>I have installed CFMX and can operate under the CFMX web server on port
>8500. That's cool. But I can't get it to con
://www.samcfug.org
=
- Original Message -
From: "Michael Kear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, March 08, 2003 7:39 PM
Subject: This is DEFINITELY a faulty download file and install routine.
| I re
>I have installed CFMX and can operate under the CFMX web server on port
>8500. That's cool. But I can't get it to connect to IIs, and the fault
>is in the package I downloaded from Macromedia's site. Don't tell me
>different because I have seen it a dozen times now.
>
>What happens is that the
> Dave Watts suggested I treat the wsconfig.jar as a zip
> compressed archive and extract the single file I need,
> jrun.dll and do the job manually. I'm about to give
> that another go, but that archive contains 614 files.
> If I only use the one of them, what about all the others?
> What wer
rch 08, 2003 8:39 PM
Subject: This is DEFINITELY a faulty download file and install routine.
> I really appreciate all the help you guys have given me, specially Chris
> Kief who did a remote session on my desktop yesterday, and Dave Watts
> who has suggest numerous things ... but none of
I really appreciate all the help you guys have given me, specially Chris
Kief who did a remote session on my desktop yesterday, and Dave Watts
who has suggest numerous things ... but none of it helps me connect CFMX
to IIs.
Here's what I'm up to now ..
I have installed CFMX and can operate under
go to the URL with the executable. As long as the executable is not a CGI
and there are no firewall issues you should be able to download it.
On Fri, 22 Mar 2002, Shahzad.Butt wrote:
> How can i download an exe file from server (say yahoo.com) to my local
> machine?
>
> Shahzad Butt (Developmen
Sent: 22 March 2002 18:27
To: CF-Talk
Subject: RE: Download File
You might be able to use CFHTTP to grab the file and CFFILE to write it
to the drive. I havn't done that, so I'm not sure if it will work.
I'd recommend using FTP instead of HTTP if possible. Then CFFTP could
do
ad.Butt [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:09 PM
To: CF-Talk
Subject: RE: Download File
No I don't want to use browser to do the job. Cos I want to make an
application and then schedule it to run in background. So it will
download specified file after every 20 mins. Hope
t: 22 March 2002 18:14
To: CF-Talk
Subject: RE: Download File
I assume you don't mean an http *click* *save as* download.
Please elaborate. :)
EC
-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:01 PM
To: CF-Talk
Subject: Download File
I assume you don't mean an http *click* *save as* download.
Please elaborate. :)
EC
-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 1:01 PM
To: CF-Talk
Subject: Download File
How can i download an exe file from server (say yahoo.co
How can i download an exe file from server (say yahoo.com) to my local
machine?
Shahzad Butt (Development Engineer)
JJ FastFood Distribution Ltd.
Office: +44 (0) 1992 701 722
Mobile: +44 (0) 7803 584 873
Fax: +44 (0) 1992 701 604
7 Solar Way, Innova Park, Enfield, London, EN3 7XY
***
Excellent, Thankyou
-Original Message-
From: Maximov, Anton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 2:07 PM
To: CF-Talk
Subject: RE: Adding default file name to CFCONTENT download file.
content-disposition header has to be served.
Content-Disposition: filename
From: John Crosby [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, November 15, 2000 1:30 PM
> To: CF-Talk
> Subject: Adding default file name to CFCONTENT download file.
>
>
> Hello Everyone,
> I'm looking for a way to designate the name of a file being
> downloa
> Is there a way to setup a specific link so that it will do a
> download of that file instead of trying to open it?
Point your link to a CF page. Then in that page use the CFCONTENT tag to
attach a MIME type the browser won't try to open (e.g. make one up) and put
the actual file name in there
Hello Everyone,
I'm looking for a way to designate the name of a file being downloaded to a
users browser using CFCONTENT. Currectly the file name appears as
'index.cfm' when the user selects save to disk. I want to change this to
'somethingelse.txt' because it's a text file being downlo
> Is there a way to setup a specific link so that it will do a download
> of that file instead of trying to open it?
Mike
Use FTP
Nick
**
Information in this email is confidential and may be privileged.
It is intended for
Is there a way to setup a specific link so that it will do a download of that file
instead of trying to open it?
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://w
51 matches
Mail list logo