Re: IIS 8.5 truncating file download

2014-11-10 Thread Russ Michaels
Try setting the maxAllowedContentLength in your web.config On Mon, Nov 10, 2014 at 2:44 AM, John Blayter jblay...@gmail.com wrote: Yes there is a mismatch on the Content-Length variable. I tried setting it manually without any luck. cfset variables.temporaryFilePath =

IIS 8.5 truncating file download

2014-11-09 Thread John Blayter
I am doing a server migration to IIS 8.5 and CF10 and having some issues delivering PDF files. I tried the code using the built in web server and it works without issue so I know the issue is in IIS somewhere. Basically what happens is it truncates the PDF file to the first 749 bytes. I have

Re: IIS 8.5 truncating file download

2014-11-09 Thread Russ Michaels
I would check the response headers for any hints, you may be getting a mismatch with the expected content length. Also, take a look at this setting in IIS and see if disabling it helps: http://screencast.com/t/H03SiWuabri If so, then you may just need to tweak the value. On Sun, Nov 9, 2014 at

Re: IIS 8.5 truncating file download

2014-11-09 Thread John Blayter
Yes there is a mismatch on the Content-Length variable. I tried setting it manually without any luck. cfset variables.temporaryFilePath = C:\inetpub\wwwroot\MyPDF.pdf cfheader name=Content-Length value=#getFileInfo(variables.temporaryFilePath).size#/ cfheader name=X-Content-Length

Re: IIS 8.5 truncating file download

2014-11-09 Thread Andrew Scott
Try this instead of that. cfcontent type = text/html file = C:\CFusion\wwwroot\myapps\cfcontent_message.htm deleteFile = No Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Mon, Nov 10, 2014 at 1:44 PM, John

File download speed disparity via CFContent

2012-03-03 Thread Dana Kowalski
I could use some brainstorming help please to sort out this issue. A disclaimer is I'm attempting to get our sys admins to hook up the apache sendfile into iis 6.x, however the timeline might not help me here. We have two racks with a CF 8.x app server, file server, db server. They all run on

Multi-part server push file download with CFML

2009-05-13 Thread Ian Skinner
I got curious about this functionality from a question I saw on another forum. How could one download multiple files within one response to a single request. At first I thought that this was not possible since I have never experienced it. But a quick Google search returned this blog post

RE: Multi-part server push file download with CFML

2009-05-13 Thread brad
This is possible in ColdFusion, but I had to dip down into the Java HTTPServletResponse object to accomplish it. The kicker is, it only appears to work in FireFox. I'll write up a blog post on it tonight. ~Brad Original Message Subject: Multi-part server push file download

RE: File download not working

2008-03-14 Thread Dave
To: CF-Talk Subject: Re: File download not working Did you recently turn off caching in IE, or do you prevent caching in the page higher up (with no-cache headers etc)? On Fri, Mar 14, 2008 at 6:01 AM, Dave [EMAIL PROTECTED] wrote: I'd seen the content-description in a few examples

File download not working

2008-03-13 Thread Dave
I'm trying to enable a user to download a user information file. The file is generated on a different server and is supposed to be offered up to the user to save. I had it working before, but now it's not. I have looked all over the web and have seen and tried various adaptations to the code I

Re: File download not working

2008-03-13 Thread Jochem van Dieten
Dave wrote: ...cannot download DownloadUserInfo.cfm...site is either unavailable or cannot be found cfset myFile = #fromdir# txtfiles.aes cfheader name=Content-Disposition value=attachment:filename=txtfiles.aes cfheader name=Content-Description value=User Info File cfcontent

RE: File download not working

2008-03-13 Thread Dave
not IE7. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 3:43 PM To: CF-Talk Subject: Re: File download not working Dave wrote: ...cannot download DownloadUserInfo.cfm...site is either unavailable or cannot be found

Re: File download not working

2008-03-13 Thread James Holmes
Did you recently turn off caching in IE, or do you prevent caching in the page higher up (with no-cache headers etc)? On Fri, Mar 14, 2008 at 6:01 AM, Dave [EMAIL PROTECTED] wrote: I'd seen the content-description in a few examples figured I'd give it a try. I've also see the attachment

file download in cfm file

2007-02-14 Thread Nathan Chen
Hi, All: I have a simple a href=myfile.pdf in a cfm file. It works on my local machine but won't work on the server(Windows 2003, with IIS 6). I got this message that many of you probably have seen before. == Internet Explorer cannot download my file from

RE: file download in cfm file

2007-02-14 Thread Ben Nadel
/ -Original Message- From: Nathan Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 6:00 PM To: CF-Talk Subject: file download in cfm file Hi, All: I have a simple a href=myfile.pdf in a cfm file. It works on my local machine but won't work on the server(Windows 2003, with IIS 6

Re: file download in cfm file

2007-02-14 Thread Claude Schneegans
It works on my local machine but won't work on the server(Windows 2003, with IIS 6) Make sure your IIS is configurated to handle .pdf files. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any

RE: Forcing a default directory on file download

2007-02-09 Thread Dave Francis
If you're on an intranet, could you write the file to a common mapped drive instead of downloading it at all? -Original Message- From: Oğuz Demirkapı [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 11:51 AM To: CF-Talk Subject: Forcing a default directory on file download Hi

Re: Forcing a default directory on file download

2007-02-09 Thread Rick Root
You could probably do it with a signed activeX contol... but... eww! Rick ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs

Re: Forcing a default directory on file download

2007-02-09 Thread Oğuz Demirkapı
? -Original Message- From: Oğuz Demirkapı [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 11:51 AM To: CF-Talk Subject: Forcing a default directory on file download Hi I have a dummy client request that I wonder if there is a solution. We have a data file that we are exporting

Forcing a default directory on file download

2007-01-30 Thread Oğuz Demirkapı
different agents who does not know this directory in mind. When I prompt file download they want to see this specific directory as default save location. I said this is technically not possible, but before closing this request, I just want to be sure by asking here. Can we force to save

Re: Forcing a default directory on file download

2007-01-30 Thread Ryan Stille
complicated for the client and they want to save this file direct into this specific directory. Ok they can select this directory and save file but they want to do this via application because they have different agents who does not know this directory in mind. When I prompt file download they want

RE: Forcing a default directory on file download

2007-01-30 Thread Ian Skinner
Any idea? Not possible and they really do not WANT this because then some of us developers could start delivering devastating virus packages directly to critical directories. On the off chance this in an intranet application where these client computers may share a network domain with the

Re: Forcing a default directory on file download

2007-01-30 Thread Oğuz Demirkapı
Thanks for replies! What about setting default save directory on file download? If there would be a way of doing this, it would not be a security issue. Ian Skinner wrote: Any idea? Not possible and they really do not WANT this because then some of us developers could start delivering

RE: Forcing a default directory on file download

2007-01-30 Thread Ian Skinner
Thanks for replies! What about setting default save directory on file download? If there would be a way of doing this, it would not be a security issue. Actually yes - yes it is a security issue. Because many users are dumb and many hackers are very smart and can easily trick users to do

File Download Manager

2006-03-29 Thread Simon Free
Hi All, I am soon going to be creating a file download system for a web site and before I start coding I wanted to see if any of you had any ideas on the best way to handle this problem. Users of the site are going to be able to select a number of images that they wish to download

Re: File Download Manager

2006-03-29 Thread Alan Rother
I don't think you are going to be able to find a CF based soltuion for the download manager. I have seen some executable soultions for what you are proposing, in Java or different flavors of C, but these programs need to be rrunning on the end users computer for them to work. Since CF is a server

RE: Simultaneous File download limiting system

2004-08-25 Thread Dennis Powers
tel: (203)879-2844 http://www.uxbinternet.com http://dennis.uxb.net -Original Message- From: Jordan Michaels [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:43 PM To: CF-Talk Subject: Re: Simultaneous File download limiting system If serv-u can't, Pureftpd can do this: http

Re: Simultaneous File download limiting system

2004-08-25 Thread Jordan Michaels
Wolcott, CT 06716 tel: (203)879-2844 http://www.uxbinternet.com http://dennis.uxb.net -Original Message- From: Jordan Michaels [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 6:43 PM To: CF-Talk Subject: Re: Simultaneous File download limiting system If serv-u can't

Re: Simultaneous File download limiting system

2004-08-25 Thread Jordan Michaels
Hi Dennis, Hahaha. That's quite alright. Windows has the ability to be useful sometimes. The point is, I doubt you're the only one who ever wanted that kind of functionality in an FTP server. If serv-u won't do it, then there are almost certainly other FTP servers out there that can. No need

RE: Simultaneous File download limiting system

2004-08-25 Thread Dennis Powers
I doubt you're the only one who ever wanted that kind of functionality in an FTP server. Actually Serv-U will do it and I have used in on many occasion however what I am trying to do is have it fail gracefully. When someone clicks the link to download a file we use a URL of

Simultaneous File download limiting system

2004-08-24 Thread Dennis Powers
Hi, We are attempting to create a file download system that will limit the user to two simultaneous file transfers.We have a project where we have a file browser web page in the web site that reads from a database and when the user wishes to download a file they click the icon and we direct them

Re: Simultaneous File download limiting system

2004-08-24 Thread Jordan Michaels
love it. Hope this helps, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Dennis Powers wrote: Hi, We are attempting to create a file download system that will limit the user to two simultaneous file transfers.We have a project where we have a file browser web page in the web

Flagging when a file download is complete

2004-06-05 Thread Mark Leder
Is there any way to increment a counter when a download has completed (the download logic is using CFCONTENT). How would it be done?I have access to file size vars from a database. Thanks, Mark [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

force file download for a Mac

2003-11-26 Thread Phillip B.
I'm trying to make a mac download an XML file that is dynamically created. I can get it to work on a PC but a Mac just opens the file in the browser. This is the CF that I'm using. Any ideas on what I need to do to make this thing work? cfheader name=Content-Disposition value=attached;

RE: force file download for a Mac

2003-11-26 Thread Paul Vernon
This is all to do with the content type. If the any browser recognises the type as something it can display, it will. Your Mac browser in this instance knows about XML so it is displaying it inline I'm not sure what you can do to stop that other than change the content-type to something that

Re: force file download for a Mac

2003-11-26 Thread Patricia G. L. Hall
I'm trying to make a mac download an XML file that is dynamically created. I can get it to work on a PC but a Mac just opens the file in the browser. This is the CF that I'm using. Any ideas on what I need to do to make this thing work? cfheader name=Content-Disposition value=attached;

Re: force file download for a Mac

2003-11-26 Thread Phillip B.
Patricia G. L. Hall wrote: Try this: cfheader name=Content-Disposition value=attachment; filename=file.xml cfcontent file=[pathtofile]\sartxfercy.txt type=application/unknown I don't know for sure if you need the file=[pathtofile]I just know that in my application, which works on the

Re:force file download for a Mac

2003-11-26 Thread Jack Dalaa
You need to change 'attached' to 'attachment' for it to work, like: cfheader name=Content-Disposition value=attachment; filename=file.xml cfcontent type=application/xml I'm doing the same with Excel and Word docs, works beautifully on Mac. Jack I'm trying to make a mac download an XML file

Re: force file download for a Mac

2003-11-26 Thread Patricia G. L. Hall
I think that is where the file=[pathtofile]\sartxfercy.txt attribute comes in.You didn't have it in your original code, did you put it in this go round? My application does exactly what you want.Forces a download of a text file on both Mac and PC and names the file as I have it spelled out in the

RE: force file download for a Mac

2003-11-26 Thread Dave Watts
I think that is where the file=[pathtofile]\sartxfercy.txt attribute comes in. This part is only applicable if you're returning a file from the filesystem using CFCONTENT. If you're returning text you've just generated with CF, you would omit the FILE attribute. Dave Watts, CTO, Fig Leaf

Re: force file download for a Mac

2003-11-26 Thread Phillip B.
Well I couldn't get it to work the way I wanted it too. I decided to make them Save link as instead of forcing the download. Dave Watts wrote: I think that is where the file=[pathtofile]\sartxfercy.txt attribute comes in. This part is only applicable if you're returning a file from the

Ideas needed! Password protect a file download.

2003-11-16 Thread Jeff Fongemie
Hey everyone, Very soon I'll need to set up a system that will let users download files. The users will need to be logged in, so I'll be checking for a username and password before I let them download the file. The part I'm not sure about is protecting the file itself. I want the file to be

RE: Ideas needed! Password protect a file download.

2003-11-16 Thread Paul Vernon
The part I'm not sure about is protecting the file itself. I want the file to be protected so no one can brows to it by http. Jeff, A bit of pseudo code for you. cfif loggedin IS true cfcontent reset=yes cfheader name=Content-Disposition

Re: Ideas needed! Password protect a file download.

2003-11-16 Thread Tom Kitta
redirected to download.cfm where download of his choice starts automatically. TK - Original Message - From: Jeff Fongemie To: CF-Talk Sent: Sunday, November 16, 2003 11:33 AM Subject: Ideas needed! Password protect a file download. Hey everyone, Very soon I'll need to set up a system

RE: Ideas needed! Password protect a file download.

2003-11-16 Thread Philip Arnold
: Jeff Fongemie [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 11:34 AM To: CF-Talk Subject: Ideas needed! Password protect a file download. Hey everyone, Very soon I'll need to set up a system that will let users download files. The users will need to be logged in, so I'll be checking

RE: Ideas needed! Password protect a file download.

2003-11-16 Thread Kwang Suh
: Ideas needed! Password protect a file download. The part I'm not sure about is protecting the file itself. I want the file to be protected so no one can brows to it by http. Jeff, A bit of pseudo code for you. cfif loggedin IS true cfcontent reset=yes cfheader name=Content-Disposition value

Re:Ideas needed! Password protect a file download.

2003-11-16 Thread Jeff Fongemie
You guys are fantastic. I just talked to the crummy isp for the site and it looks like it may take some work to get them to allow me to use the cfcontent tag, but they are considering it. Looks like it is the way to go. I'll report back if I can get them to switch it back on. Thanks!!! [Todays

RE: Ideas needed! Password protect a file download.

2003-11-16 Thread Michael T. Tangorre
Thats why I love hostmysite.com for my CF hosting needs.. They allow the tags! _ From: Jeff Fongemie [mailto:[EMAIL PROTECTED] Sent: Sunday, November 16, 2003 5:00 PM To: CF-Talk Subject: Re:Ideas needed! Password protect a file download. You guys are fantastic. I just talked to the crummy

Automatic File Download

2003-02-24 Thread Mark Leder
Hi All, I have a script (listed below) that when run allows a file to be downloaded to a client machine. In IE 5+ it works great. However, in NS 6-7 the file extension .cfm wants to append itself to the end of the file (in this case a .pdf). Any way to stop this appending? === snip

file download bug with Netscape 7

2002-12-16 Thread Phil Cruz
--=_6494909==.ALT Content-Type: text/plain; charset=us-ascii; format=flowed I just ran across a bug with NS7 where it appends the file ext of the template to the end of the filename to be downloaded. So if you have a download.cfm template like cfheader

Re: file download bug with Netscape 7

2002-12-16 Thread Bryan Stevenson
- Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Phil Cruz [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 16, 2002 4:05 PM Subject: file download bug

File Download

2002-05-30 Thread Graham Lewis
This is an area I have not looked at in detail before so I am looking for some pointers on the best way to proceed. - I am a CF dabbler not a code jockey like you guys :-) I make a selection on a page which stores the path to a file in a variable (#PathToFile#). I now want to download that file

File Download... A generic solution???

2001-05-22 Thread Dick Applebaum
There has been quite a lot of discussion about how to make file download work properly in various browsers. Thomas Chiverton came up with a work-around for MSIE 5.x Win bugs that wouldn't pick up the correct file name. Others had fixes for other browsers. Thomas' solution used a popup window

Force File Download

2001-04-17 Thread Vance Duke
I am trying to offer a link on a website, for ALL kinds of file types. I want to force file download even for files that are an understood MIME type, i.e. GIF, JPG, DOC, XLS, etc. I do not want this to open in the browser. Can anyone help me? Thanks, Vance Duke Sr. Cold Fusion Developer

RE: Force File Download

2001-04-17 Thread mbrunt
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 11:56 AM To: CF-Talk Subject: Force File Download I am trying to offer a link on a website, for ALL kinds of file types. I want to force file download even for files that are an understood MIME type, i.e. GIF, JPG, DOC, XLS, etc. I do not want

RE: Force File Download

2001-04-17 Thread Dylan Bromby
, April 17, 2001 12:59 PM To: CF-Talk Subject: RE: Force File Download Vance, what web server are you using? Some will enable a quasi-ftp type facility if the directory(s) have no Index/Default page in them. Kind Regards - Mike Brunt Macromedia Consulting Tel 562.243.6255 Fax 401.696.4335 http

RE: Force File Download

2001-04-17 Thread Garza, Jeff
L PROTECTED]] Sent: Tuesday, April 17, 2001 11:56 AM To: CF-Talk Subject: Force File Download I am trying to offer a link on a website, for ALL kinds of file types. I want to force file download even for files that are an understood MIME type, i.e. GIF, JPG, DOC, XLS, etc. I do not want this t

File Download

2001-04-13 Thread W. Shannon Carr
I am trying to give the user access to download files that are located on a different hard drive than the webserver directory. I have used cfdirectory in the past when files were located in the home web server directory. The cffile would list all files and the user can click on file name which is

Re: File Download

2001-04-13 Thread Tim Painter
as opposed to download.cfm) download.cfm: cfcontent type="unknown" file="c:\Directory\#url.file#" deletefile="No" - Original Message - From: "W. Shannon Carr" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, April 13, 2001 10:

Re: File Download

2001-04-13 Thread Tony Schreiber
quot;unknown" file="c:\Directory\#url.file#" deletefile="No" - Original Message - From: "W. Shannon Carr" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, April 13, 2001 10:16 AM Subject: File Download I am trying to give the user

Re: File Download

2001-04-13 Thread W. Shannon Carr
Thank you for your help. I wasn't aware of the cfcontent tag but will be sure to add a new snippet. Thanks again, Shannon - Original Message - From: "Tim Painter" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Friday, April 13, 2001 10:57 AM Subjec

CFContent file download problem

2001-03-15 Thread Eron Cohen
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 be

File Download

2000-12-28 Thread Chad Gray
How do you get a download interface to come up? Like when i goto a web site and buy software. This interface pops up and asks me where i want to save the file... I have a feeling it is a really basic HTML or java answer. Thanks! ~ Paid Sponsorship ~ Get Your Own

RE: File Download

2000-12-28 Thread Simon Horwith
line) www.figleaf.com -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 10:44 AM To: CF-Talk Subject: File Download How do you get a download interface to come up? Like when i goto a web site and buy software. This interface pops up

RE: File Download

2000-12-28 Thread Chad Gray
Subject: File Download How do you get a download interface to come up? Like when i goto a web site and buy software. This interface pops up and asks me where i want to save the file... I have a feeling it is a really basic HTML or java answer. Thanks! ~ Paid Sponsorship

RE: File Download

2000-12-28 Thread Christopher Olive, CIO
] http://www.crescotech.com -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 28, 2000 10:44 AM To: CF-Talk Subject: File Download How do you get a download interface to come up? Like when i goto a web site and buy software. This interface pops up

File download

2000-09-26 Thread Vinuthomas
Hi. How to download a file form the server ,is it possible by cfcontent tag. please help me.. vinu This e-mail has been sent to you courtesy of OperaMail, as a free service from Opera Software, makers of the award-winning

Re: File download

2000-09-26 Thread Christopher S Martin
Try thed cf_download tag from the alliare developer connection. - Original Message - From: "Vinuthomas" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Tuesday, September 26, 2000 05:31 Subject: File download Hi. How to download a file form the se

Re: setting file download name using CFCONTENT -- SOLVED!

2000-05-14 Thread S.E.Fling
MK.PDF" At 7:23 PM -0700 5/13/2000, S.E.Fling wrote: Hi, Thanks to the great thread on "CFCONTENT and File Download", I was able to create a download page for 2page.exe, a self-extracting winzip file (contains 12 Microsoft word documents). However, when the "Save As..&

Re: setting file download name using CFCONTENT

2000-05-13 Thread Dick Applebaum
This works for me: CFHEADER NAME="Content-Disposition" value="attachment; filename=RB2000MK.PDF" CFCONTENT TYPE="application/pdf" FILE="d:\itool\sites\sgcpubs\www\mediakits\RB2000MK.PDF" At 7:23 PM -0700 5/13/2000, S.E.Fling wrote: Hi, Thanks to

setting file download name using CFCONTENT

2000-05-13 Thread S.E.Fling
Hi, Thanks to the great thread on "CFCONTENT and File Download", I was able to create a download page for 2page.exe, a self-extracting winzip file (contains 12 Microsoft word documents). However, when the "Save As.." box comes up, instead of "2page.exe" as

CFCONTENT and File Download

2000-05-12 Thread Randy Adkins
I am trying to use CFContent to serve up files for downloading. I have various of file types ranging from TXT, XLS, EXE, ZIP, and DOC files. EXE and ZIP files are working correctly. However if I use TXT, XLS, and DOC files, they will be opened in the browser or I get a message of:

Re: Preventing file download.

2000-04-13 Thread Xing Li
Guy, Move the CAD files out of the web folder and use CFCONTENT to push the cad files. The CFCONTENT script will be programmed to accept and validate an encrypted phrase passed by the calling file (applet). Now here is the worse part. The key used to validate and encode (CFENCRYPT) the phrase

Preventing file download.

2000-04-12 Thread Guy Walker
Building an application that uses a cad file viewer that is a java applet. The viewer loads a cad file from the document root on the web server and display it in a browser. The problem I have is that a user can view the source for the web page, get the URL to the cad file and download the cad

RE: Preventing file download.

2000-04-12 Thread Parker, Kevin
Corporation [EMAIL PROTECTED] www.workcover.com ph: +61 8 82332548 fax: +61 8 82332000 mob: 0418 800 287 ++ -Original Message- From: Guy Walker [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 April 2000 2:26 PM To: [EMAIL PROTECTED] Subject: Preventing file download. Building