Link to the file containing the cfcontent tag like this
Link
a href=dload.cfm/resuword.zip?file=resuword.zip
target=_newresuword.zip/a
dload.cfm
-
cfcontent type=application/x-zip-compressed
file=c:\ftproot\resuword.zip deletefile=No
-Original Message-
From: Don
I'm trying to download files using CFContent using the following code.
CFCONTENT TYPE=application/unknown FILE=#FileLocation#filename#
Is there a way to change the default file name from the cold fusion
template's name to the actual file name? I'm trying to have users download
files, but I
Check the archives... I posted a solution within the last several weeks.
Dick
At 1:20 PM -0400 8/6/01, Curtis C. Layton wrote:
I'm trying to download files using CFContent using the following code.
CFCONTENT TYPE=application/unknown FILE=#FileLocation#filename#
Is there a way to change
Ok its late and I am brain dead.
What else do I need in a template to download a zip file?
When a template with the following code is executed. a view source shows
only /body/html
cfcontent type=application/x-zip-compressed
file=c:\ftproot\resuword.zip deletefile=No
TIA Don
/a
And download.cfm contains the following one line of code:
cfcontent type=application/octet-stream file=d:\somefile.pdf
deletefile=no
This works great (save as box pops up and default filename is
somefile.pdf) on all systems except one of my development boxes which
(intentionally) doesn't have
Help
I am using CFCONTENT to save PowerPoint slides. In IE the slides
get saved fine, but in Netscape 6, when the option to save is used,
Netscape says its and unknown file type, also Netscape does not seem to be
passing the form vars to the page that creates the slide, I am getting
I just read a post on the alt.comp.lang.coldfusion that
suggests that use of CFCONTENT is disastrous in a shared environment.
Why not send an e-mail to the original poster asking them to justify their
remarks?
--
Aidan Whitehall [EMAIL PROTECTED]
Macromedia ColdFusion Developer
Fairbanks
I just read a post on the alt.comp.lang.coldfusion that suggests that use of CFCONTENT
is disastrous in a shared environment.
Is this because of load on server or what? Also, anyone know where a list of these
gotcha's are published? I'm refreshing my CF knowledge, and something like
to
presentations later.
Forgot to mention that you will also need a content-disposition header.
cfheader name=Content-disposition value=attachment;
filename=#filename#
cfcontent type=application/octet-stream file=#filename#
If this doesn't work, shoot the customer for using a browser that does
not adhere
to
upgrade to 5.0 soon)
When I add the filename, CFCONTENT is looking for the file to
already exist, which it does not, the user will be creating it at the time
of viewing, saving it on their drive. Maybe I am doing something else
wrong. here is a simple look at the process
The problem with using application/octet-stream, is that the user doesn't
get the option to save the file.
I want the user to be able to save the file just not open it in the browser.
The purpose is for the user to save as PowerPoint slide, to be added to
presentations later.
Rodney
If
The problem with using application/octet-stream, is that
the user doesn't get the option to save the file.
I want the user to be able to save the file just not open it
in the browser. The purpose is for the user to save as PowerPoint
slide, to be added to presentations later.
Dave
Don't know if you seen the original post.
I am using CFCONTENT to allow the user to save graphs (bar) as
PowerPoint slides. If the user selects to save file and then later opens,
this works fine, if the user selects to open from current location, the
graph displays fine
Hi all
I am hoping its the confusion with the mail, why I haven't seen a reply.
so I am trying again.
I am creating PowerPoint slides using cfcontent.
This works fine, when the user saves as file and then opens in PowerPoint.
The problem is when a user chooses the option Open file from
Bruce, Rodney wrote:
Has anyone else come across this? is it possible to not allow the option
Open file from its current position?
If you don't want to allow the Open file from its current position
option specify the content-type application/octet-stream.
Jochem
Hello CF-Talk
I am sending this out again, hoping that with the list up and running again
someone can help.
I am creating PowerPoint slides using cfcontent.
Mostly this works fine. It the user saves to file and then opens with
PowerPoint.
The problem is when a user choices the option
Hello all
I am creating PowerPoint slides using cfcontent.
Mostly this works fine. the problem is when a user choices the option
Open file from its current position. The file opens fine and shows the
slide. but when user moves or clicks on the scroll bar the error The Page
cannot
=lsarprod
select * from lsardba.tbl_response
where id = '#url.id#'
/cfquery
cfcontent type=application/msword
file=C:\Inetpub\wwwroot\Intranet-Secure\lsar_db2\responses\#Trim(getview.document)#
~~
Structure your ColdFusion code
: Wednesday, June 27, 2001 9:44 AM
To: CF-Talk
Subject: Repost: CFCONTENT Strikes Again...Viewing a file
Reposting due to Mail hickup...If anyone responded to this, I never got
it.
I have a three button form that gives a user the option to view, replace
or delete a file. The latter two work just fine
where id = '#url.id#'
/cfquery
cfcontent type=application/msword
file=C:\Inetpub\wwwroot\Intranet-Secure\lsar_db2\responses\#Trim(getview.document)#
Dennis Powers wrote:
James,
On the form page you named the submit button docu on the action page you
are referencing doc. It should
* from lsardba.tbl_response
where id = '#url.id#'
/cfquery
cfcontent type=application/msword
file=C:\Inetpub\wwwroot\Intranet-Secure\lsar_db2\responses\#Trim(get.document)#
~~
Structure your ColdFusion code with Fusebox. Get the official book
: CFCONTENT Strikes Again...Viewing a file
I have a three button form that gives a user the option to view, replace
or delete a file. The latter two work just fine, but viewing the file is
giving me an error and I am not sure why. It opens MSWORD and displays
an error that it can't resolve the form
Hi Rich,
Windows NT Error 5 means that access to the file is denied because some
other process is using it. My guess in your case is that your process that
serves up the CFCONTENT is the one that has the file open, therefore your
line of code which attempts to delete it can't because it is open
I'm sure this problem has been addressed before, but here it is:
I'm trying to make a file available for download through CFCONTENT. The
cfm page send.cfm looks like this::
cfcontent type=unknown file=c:\archive\file.mp3 deletefile=No
The problem is, instead of sending that file, it sends
If you are using NT with SP 6a:
add this to send.cfm
cfheader name=Content-Disposition value=attachment;
Filename=myfile.txt
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 4:17 PM
To: CF-Talk
Subject: CFCONTENT Problem
I'm sure
Give this a shot:
CFHEADER NAME=Content-Disposition VALUE=attachment; filename=file.mp3
CFCONTENT TYPE=unknown FILE=c:\archive\file.mp3 DELETEFILE=No
Dain Anderson
Caretaker, CF Comet
http://www.cfcomet.com/
- Original Message -
From: Rich Z [EMAIL PROTECTED]
To: CF-Talk [EMAIL
Still happening. Is there something I need to do on the server side?
-Original Message-
From: Dain Anderson [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 4:38 PM
To: CF-Talk
Subject: Re: CFCONTENT Problem
Give this a shot:
CFHEADER NAME=Content-Disposition VALUE=attachment
What is the WinNT SP?
Duane
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 8:50 PM
To: CF-Talk
Subject: RE: CFCONTENT Problem
Still happening. Is there something I need to do on the server side?
-Original Message-
From: Dain
I'm actually using Windows 2000 Server.
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 8:58 PM
To: CF-Talk
Subject: RE: CFCONTENT Problem
What is the WinNT SP?
Duane
-Original Message-
From: Rich Z [mailto:[EMAIL PROTECTED
Got a bit of a query with CF5:
If I try to serve a separate text file from a template via cfcontent and
specify that the file must be deleted - an error is thrown:
Error occurred while attempting to delete the file
D:\development\text_server\this.txt
Windows NT error number 5 occurred
Got a bit of a query with CF5:
If I try to serve a separate text file from a template via cfcontent and
specify that the file must be deleted - an error is thrown:
Error occurred while attempting to delete the file
D:\development\text_server\this.txt
Windows NT error number 5 occurred
Something like this should help:
cfheader name=Content-Disposition value=attachment;
filename=myname.txt
Massimo
Brook Davies [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a cf file which returns a text file using CFCONTENT. Yet, the
e
Can anyone suggest an alternate method? Is there any way I can control
where
the CFContent places the temporary file then zip the file prior to
download?
Thank you in advance,
Will Fadel
([EMAIL PROTECTED])
You could probably write the file using CFFILE and avoid CFCONTENT
altogether
I have a cf file which returns a text file using CFCONTENT. Yet, the
extension is still .cfm. Is there a way to force the extension to .txt?
Thanks
Brook Davies
Maracasmedia.com
~~
Structure your ColdFusion code with Fusebox. Get the official
Hello all,
I am trying to trap an error thrown by cfcontent, I wrapped cfcontent with
cftry, but when I generate the error, I do not get my message but rather.
"Please inform the site administrator that this error has occurred (be sure
to include the contents of this page in your me
align="left"
valign="top"#form.Template#/td
/tr
tr bgcolor="CCEEFF"
td colspan="2"hr/td
/tr
tr bgcolor="CCEEFF"
td align="left" vali
Cfcontent can be deceptive since the call itself may not be failing, but
rather the requested page may be generating the error and returning valid
HTML. Be sure of where the error is and you'll save a lot of headaches :)
Bryan Love ACP
-type" value="bad/type"
cfheader name="Content-Disposition" value="attachment; filename=#file#"
cfcontent type="bad/type" file="#DocName#
Then using jscript to close the window.
Ick.
Netscape manages with no hassle, calling get.cfm direct in the
Hi,
Can someone please tell me the change in the way the CFCONTENT tag works in
CF4 and CF 4.5. Meaning, in CF 4.0 the excel file that I am creating looks
fine. The each field is in a separate cell. However, when running off a 4.5
server all the fields are attached and are displayed in one
Can someone please tell me the change in the way the
CFCONTENT tag works in CF4 and CF 4.5. Meaning, in CF 4.0
the excel file that I am creating looks fine. The each
field is in a separate cell. However, when running off
a 4.5 server all the fields are attached and are displayed
in one
uot;ODBC"
#Form.txtSql#
#preserveSingleQuotes(Form.txtDate)#
ORDER BY Niin
/cfquery
cfheader name="content-disposition" value="filename=Summary.xls"
cfcontent type="application/msexcel"
cfloop query="qryGetSummary"
cfset strComment=#ReReplace("#cOMMENT#&
Please help.
I am trying to test out a cfcontent tag. I want to create an Excel file.
When I test it on my hard drive everything looks good, however, when I try
it on the web, all the fields are one continuous cell in Excel. The DB and
files are the same. Any leads. I woulsd really
I have a link where a user can download a PowerPoint file. The link goes to
this page (basically) ...
cfheader name="Content-Disposition" value="attachment;
filename=ppFile_Name.ppt"
cfcontent type="application/unknown" file="c:\inetpub
wwwroot\ppFiles\ppFile
to the browser, it prompts for download...
I have a link where a user can download a PowerPoint file. The link goes to
this page (basically) ...
cfheader name="Content-Disposition" value="attachment;
filename=ppFile_Name.ppt"
cfcontent type="application/unknown" fil
I use CFcontent all the time and haven't had any
problems for a long time. Recently I have been
attempting to institute it as part of a fusebox site
with frames to download some hidden files. When a
user clicks the link that triggers the CFCONTENT
download, for some reason, two files must
Hello all,
I am using cfcontent to access files across the network no problem as long
as I using IE, however when I used netscape I get an HTTP Error 400. Of
course this happens only when the file has spaces. Is there a command i can
issue such as URLEncodedformat?
Thank you for all the help
I'm trying to allow users to download particular files which are executables.
I'm also specifying the filepath for the executable.
If I use some bogus mime type in the cfcontent, I get the download dialog box with the
coldfusion file name inside of
it such as coldfusionfile.cfm... When I save
-
|From: Tracy Bost [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 06, 2001 10:48 AM
|To: CF-Talk
|Subject: Need some help with CFCONTENT
|
|
|I'm trying to allow users to download particular files which
|are executables.
|I'm also specifying the filepath for the executable.
|
|If I use some bogus
Does anybody know if there is some character I can use on a CF
page that has
a CFCONTENT for Excel tag, which will force a hard return in an Excel file
cell(simulating pressing ALT+ENTER in Excel)?
I've got a long description field that I'm trying to force line breaks on,
but if I use
Does anyone know of a way to set cookies on a page
that uses CFCONTENT? Is this impossible to do?
Thanks,
Eron
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http
: CFCONTENT and COOKIES
Does anyone know of a way to set cookies on a page
that uses CFCONTENT? Is this impossible to do?
Thanks,
Eron
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com
Does anyone know of a way to set cookies on a page
that uses CFCONTENT? Is this impossible to do?
Cookies are part of a HTTP request, therefore it depends on the content
type - if you're sending back an Excel sheet, then I doubt it as Excel loads
within the browser window (as with Word etc
Does anybody know if there is some character I can use on a CF page that has
a CFCONTENT for Excel tag, which will force a hard return in an Excel file
cell(simulating pressing ALT+ENTER in Excel)?
I've got a long description field that I'm trying to force line breaks on,
but if I use Table rows
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 9:44 AM
To: CF-Talk
Subject: CFContent question
I have searched the archive but can not seem to find the answer to this
exact question...
Did NT 4.0 SP 6a fix the problem with CFCONTENT? I
Actually I recommend using the UNC name (\\servername\sharename\dir\file)
because using the drive letter relies on that drive being mapped.
-Original Message-
From: Adrian J. Moreno [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 5:57 PM
To: CF-Talk
Subject: Re: CFContent
Is it possible to use a wildcard in CFCONTENT type parameter or a comma
delimited list such
as image/gif, image/jpg? I want to set type to image/* instead of only
image/gif, or image/jpg
to allow all images.
Thanks,
Dave
~~
Structure your
"GIF"cfset mymimetype="image/gif"/cfcase
cfcase value="JPG,JPEG" delimiters=","cfset
mymimetype="image/jpeg"/cfcase
cfcase value="TIF,TIFF" delimiters=","cfset
mymimetype="image/tiff"/cfcase
/cf
I have one server running CF which accesses DB files (DbaseIV - don't ask
g). Anyway, that works fine (I can do queries and such). I have CF
logged in as Administrator and using UNC paths. Today, I tried to configure
CFCONTENT to send db files to a browser. I get a Windows error of 5 (access
cfquery is one thing - those refernce a dsn set in CF Administrator.
cfcontent needs an actual file path. Your server has no idea what "\\servername\..."
means. It needs
"D:\exact\file\path\
You may, however, be able to manipulate your serverpath using #ExpandPath()#
HTH,
A
Never mind - I found out that CFContent is handled by the STUB and so I set
up the web server to run under a user account and all is well...
Regards,
Howie
- Original Message -
From: "Howie Hamlin" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, Ja
Turn on auditing and see what userid is trying to make the connection. I
think when you use CFCONTENT it's actually IIS, and therefore the iis anon
user, that grabs the file. At any rate, it _can_ be made to work.
-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent
does it have to do with the ppp in application (appplication).
Hope it helps
Stephen
-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 12:12 PM
To: CF-Talk
Subject: CFContent to a network share
I have one server running CF which accesses
- Original Message -
From: "Howie Hamlin" [EMAIL PROTECTED]
Sent: Friday, January 12, 2001 5:11 PM
cfset dbfile="\\ServerName\ShareName\databasefolder\"url.file
CFCONTENT TYPE="appplication/octet-stream"
If this is a cut and paste of your code, then
- Original Message -
From: "Adrian J. Moreno" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, January 12, 2001 5:57 PM
Subject: Re: CFContent to a network share
cfquery is one thing - those refernce a dsn set in CF Administrator.
Yes, but a DBase
I have searched the archive but can not seem to find the answer to this
exact question...
Did NT 4.0 SP 6a fix the problem with CFCONTENT? I know 6 broke it... but
did 6a actually FIX it?
Thanks.
Vance Duke
Cold Fusion Application Developer
i2 Technologies
(469) 357-4729
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CFContent works fine in sp6a. You can't do the URL faking thing
anymore, but that was a bug that was fixed never should have worked
in the first place.
SP6 broke both CFContent and the URL thing. SP6a fixed CFContent,
but not the URL thing
Did NT 4.0 SP 6a fix the problem with CFCONTENT? I know 6
broke it... but did 6a actually FIX it?
No. The "problem" with SP6+ and CFCONTENT is that, on pre-SP 6 IIS servers,
you could use a "fake" URL to tell the browser the file name of the
downloaded file. Here's an ex
Hi, folks!
Can somebody help me with 6 stupid lines of code?
cfsetting enablecfoutputonly="Yes" showdebugoutput="No"
cfquery datasource=#dsn# name="get_picture"
select Picture, mime_type from my_table where id='#url.pict#'
/cfquery
cfcontent type=#get_
(Sent this yesterday, but I believe it got ate due to the mail server issues Michael
mentioned...)
Hey gang -
Trying to set up a page to accept a few options, build up a path, and spit out a file
via CFCONTENT to the user. But it seems to choke on using a variable in "FILE&quo
Trying to set up a page to accept a few options, build up a
path, and spit out a file via CFCONTENT to the user. But it
seems to choke on using a variable in "FILE" instead of a
flat-out path/filename. Any thoughts?
You should be able to do this without any problem - I've do
Im having a problem doing a CFContent tag... I'm trying to get a file thats
on another server like this:
CFCONTENT
TYPE="application/unknown"
FILE="\\NetworkServer\documents\newsletter.pdf"
DELETEFILE="No"
The website is behind basic a
Not sure, but I think CF needs the permissions.
?
-Original Message-
From: Scott Becker [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 6:52 AM
To: CF-Talk
Subject: CFCONTENT across network shares
Im having a problem doing a CFContent tag... I'm trying to get a file thats
:52 AM
To: CF-Talk
Subject: CFCONTENT across network shares
Im having a problem doing a CFContent tag... I'm trying to get a file thats
on another server like this:
CFCONTENT
TYPE="application/unknown"
FILE="\\NetworkServer\documents\newsletter.pdf"
I do have CFCONTENT pulling from another server, but I don't use IIS
authentication at all. I'd turn on auditing on the remote server and check
the security part of the event log.
-Original Message-
From: Scott Becker [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 9:52 AM
that appears in
the first save box is still encrypted, even though the
filename variable
that is passed to cfheader and cfcontent is decryptedeh?
I'm not sure why you want to encrypt the file name - it seems to me that the only file
names visible to the user are those defined
I'm not sure why you want to encrypt the file name - it seems
to me that the only file names visible to the user are those
defined in the CFHEADER tag and URL, but not the file
specified in the CFCONTENT tag, which should prevent them
browsing them, or did i miss something
I'm trying to use CFCONTENT to serve up a pdf file.
The code is below, though i've changed the various file names so i can follow what is
happening:
CFIF IsDefined('url.gimme')
CFHEADER
NAME="Content-Disposition"
VALUE="attachment; filename=cfheader_name.p
This is a multi-part message in MIME format.
--=_NextPart_000_0029_01C052EE.4AD96870
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have come across an interesting problem when using cfcontent in IE =
5.5. The problem is wh
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
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
content-disposition header has to be served.
Content-Disposition: filename=yourfilename.ext
however it doesn't seem to be posible to serve an extra header if you are
serving a file with cfcontent.
anton maximov
programmer/analyst
IT, New Media
-Original Message-
From: John Crosby
Just to let you know, there is a bug in IE 5.5 that disables CFContent
sending files when there are form variables on the same page.
Don't ask me why it does, but it does.
-Original Message-
From: Tage Widsell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 6:32 AM
To: CF
I am using cfcontent to allow a user to download graphics file to their
hard drive(mainly tiff and eps files). The script works great with IE and
Netscape on a PC and also works on a MAC with Netscape. However, When using
IE with a mac, the file is downloaded to the browser. Any ideas on how
Im trying to use cfcontent to trigger a file download and write a download
count to a database. Works great on pc but fails on a mac.
Anyone know the solution to this? Or a way that will work on a mac. The mac
spits out an attempt to load page error.
CFQUERY NAME="GetFileInfo"
on 11/4/00 8:42 AM, Emmet McGovern at [EMAIL PROTECTED] wrote:
Im trying to use cfcontent to trigger a file download and write a download
count to a database. Works great on pc but fails on a mac.
Anyone know the solution to this? Or a way that will work on a mac. The mac
spits out
custom tag cfx_ss. The
dynamic file is created, but the file can't be located by cfcontent. The
error is as follows:
No such file The file in CFContent does not exist:
C:\inetput\wwwroot.
I'ave looked at the mimetestpage on figleaf site and can't seem to get the
concept/code to work with
I am using cfcontent to download various graphic files to the hard drive.
They are primarily psd, eps, and tif files. Cfcontent works great on a PC
with both IE and Netscape, but completely bombs on a MAC. When downloading
to a MAC, the MAC opens the file in the browser, or, if can't do
I'm using cfcontent to trigger the upload of a file. Does anyone remember
the trick to faking cfcontent into using a file name other the name of the
template it is located in?
TIA,
Duane
Archives
It's:
CFHEADER NAME="Content-Disposition" VALUE="inline; Filename=#myfilename#"
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Saturday, October 28, 2000 12:29 PM
To: CF-Talk
Subject: cfcontent
I'm using cfcontent to trigger the up
I tried that but it didn't work. I thought there was/is something that can
be done to the url to fix this.
In file one I have
a href="getfile.cfm?filename=something.ext"GetFile/a
in getfile.cfm:
cfcontent type=""
file="#GetDirectoryFromPath(GetCurrentTemp
Duane, the complete code in getfile.cfm should be:
cfheader name="Content-Disposition"
value="inline; Filename=#url.filename#"
cfcontent type=""
file="#GetDirectoryFromPath(GetCurrentTemplatePath())##url.filename#"
deletefile="No"
I'm trying to create an MS Word doc based upon a query and information entered on a
form preceeding this report processing template.
In the processing template I've tried using:
cfcontent type="application/msword"
The query runs, but all the information I entered in the form
Use this before your CFCONTENT tag:
CFHEADER NAME="Content-Disposition" VALUE="inline; filename=myworddoc.doc"
tom
- Original Message -
From: "Warrick, Mark" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, October 20, 2000 2:32 P
PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: CFCONTENT download name
Use this before your CFCONTENT tag:
CFHEADER NAME="Content-Disposition" VALUE="inline;
filename=myworddoc.doc"
tom
- Original Message -
From: "Warrick, Mark" [EMAIL PROTECTED]
Hi,
use CFCONTENT type="application/rtf" FILE="your_file"
Good Luck,
Gastón
-Mensaje original-
De: Warrick, Mark [SMTP:[EMAIL PROTECTED]]
Enviado el: Viernes 20 de Octubre de 2000 16:33
Para: CF-Talk
Asunto: CFCONTENT download name
URL: http://www.fusioneers.com
ICQ: 346566
--
-Original Message-
From: tom muck [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 11:36 AM
To: CF-Talk
Cc: [EMAIL PROTECTED]
Subject: Re: CFCONTENT download name
I'm trying to create an MS Word doc based upon a query and
information entered on a form preceeding this report
processing template.
In the processing template I've tried using:
cfcontent type="application/msword"
The query runs, but all the information
PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 12:37 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: CFCONTENT
That might explain the problem. The server is running SP6.
That shouldn't affect the use of the CFHEADER tag to specify the file name,
as suggested by Tom Muck.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
Use this before your CFCONTENT tag:
CFHEADER NAME="Content-Disposition" VALUE="inline;
filename=myworddoc.doc"
...
Sorry. This doesn't work. The form variables are lost.
It should work, as should using a "fake" URL on a pre-SP6 server.
It's worke
801 - 900 of 991 matches
Mail list logo