I'm using <cfcontent now and it works OK but I want to be able to download the file without the prompting to save.

How can I do this?

This is what I'm using:

<cfheader name="Content-Disposition" value="attachment;filename="test.txt">
<cfcontent file="C:\test.txt" type="application/text" deletefile="no">

Is there another way with <cfhttp?

--Original Message Text---
From: Calvin Ward
Date: Wed, 29 Oct 2003 11:39:17 -0500

Unless you are running an FTP service on your local machine, cfftp isn't going to be the answer.

You can do a straight http download and serve it up with cfcontent.

- Calvin

  ----- Original Message -----
  From: Bushy
  To: CF-Talk
  Sent: Wednesday, October 29, 2003 10:27 AM
  Subject: RE: Using <cfftp

  Really? Thats what I want. People are telling me this can't be done?

  --Original Message Text---
  From: Pedro Mendes
  Date: Wed, 29 Oct 2003 15:24:42 -0000

  From what I understand, that's exactly what Getfile does. Gets the selected
  file from the server, into your PC.

  Pedro
  http://www.pedromendes.com
  http://www.cmvm.pt

  -----Original Message-----
  From: Bushy [mailto:[EMAIL PROTECTED]
  Sent: quarta-feira, 29 de Outubro de 2003 15:20
  To: CF-Talk
  Subject: re: Using <cfftp

  I'm a little confused. Looking at the attributes available for <cfftp like
  GetFile and PutFile.

  Will this allow me to select a file off the server and ftp the file to my
  PC?

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to