To a certain extent that is true. However, by setting the appropriate MIME
type for the document you can force the browser to "save" it rather than
rendering it.
DC
----- Original Message -----
From: "Andy Ewings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 13:12
Subject: RE: Problem with CFFTP
> I thought <CFContent> basically allows the user to read non HTML files
> in
> their browser window (after all the browser is just a container). I
> don't
> want to open the file in their browser, just let them save it to their
> hard
> drive and open it up in word (it's a word doc)
>
> -----Original Message-----
> From: David E. Crawford [mailto:[EMAIL PROTECTED]]
> Sent: 22 August 2000 14:05
> To: [EMAIL PROTECTED]
> Subject: Re: Problem with CFFTP
>
>
> <CFCONTENT> causes CF to read a file from the web server and "push" it
> to
> the client via the browser. <CFFILE> lets you move files around on the
> web
> server, including creating, renaming, copying and deleting.
>
> DC
>
> ----- Original Message -----
> From: "Andy Ewings" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 22, 2000 13:02
> Subject: RE: Problem with CFFTP
>
>
> > Oh ok....but I still don;t see/understand how you move files from the
> > web
> > server to the client using cffile/cfcontent. I would have thought
> cfftp
> > would have done this by the nature of it's name! Anyone show me what
> to
> > do?!
> >
> > -----Original Message-----
> > From: David E. Crawford [mailto:[EMAIL PROTECTED]]
> > Sent: 22 August 2000 13:56
> > To: [EMAIL PROTECTED]
> > Subject: Re: Problem with CFFTP
> >
> >
> > They already have the ability to specify where it is saved. That is
> > completely a client function.
> >
> > DC
> >
> > ----- Original Message -----
> > From: "Andy Ewings" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, August 22, 2000 12:52
> > Subject: RE: Problem with CFFTP
> >
> >
> > > Oh.....
> > >
> > > How do I do that? What I am trying to do is let the user download a
> > > specific file from the web server to there Hard drive but I want to
> > let
> > > them
> > > choose where to save it. Have you got any code that will do this?
> > >
> > > -----Original Message-----
> > > From: Kevin Schmidt [mailto:[EMAIL PROTECTED]]
> > > Sent: 22 August 2000 14:28
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Problem with CFFTP
> > >
> > >
> > > Yeah, You can't use CFFTP to move files between the cfserver and
> > > browser.
> > > Only between the FTP server and CF server. You have to use CFFILE
> and
> > > CFCONTENT to upload and download from the browser to the server and
> > then
> > > from the server to the FTP server and vice versa.
> > >
> > > ----- Original Message -----
> > > From: "Andy Ewings" <[EMAIL PROTECTED]>
> > > To: "CFTalk (E-mail)" <[EMAIL PROTECTED]>
> > > Sent: Tuesday, August 22, 2000 5:56 AM
> > > Subject: Problem with CFFTP
> > >
> > >
> > > > I have a problem with CFFTP. I am trying to use CFFTP to download
> a
> > > file
> > > > onto a user hard drive. When the user clicks a button the web
> site
> > > creates
> > > > a file using CFFILE and then tries to download it to C:\temp using
> > > CFFTP.
> > > > However all it is doing is saving it to C:\Temp on the web server!
> > > Here
> > > is
> > > > my code....
> > > >
> > > > <cfftp action="open" username="<username>" password="<password>"
> > > > server="<servername>" connection="temp" stoponerror="no">
> > > > <cfoutput>
> > > > Open Error Code: #cfftp.errorcode#
> > > > Open Error Text: #cfftp.errortext#
> > > > </cfoutput>
> > > >
> > > > <cfftp connection="temp" action="GETFILE"
> > localfile="c:\temp\test.doc"
> > > > remotefile="#thisdirectory#TestFile.htm" transfermode="BINARY"
> > > > failifexists="No" stoponerror="No">
> > > > Download Error Code: #cfftp.errorcode#<br>
> > > > Download Error Text: #cfftp.errortext#<br>
> > > > </cfoutput>
> > > > <cfftp action="CLOSE" connection="cv">
> > > >
> > > > Both FTP operations succeed. Anyone have any ideas?
> > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > Andrew Ewings
> > > > Project Manager
> > > > Thoughtbubble Ltd
> > > > ------------------------------------------------------------------
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > --
> > > ----
> > > > Archives: http://www.mail-archive.com/[email protected]/
> > > > To Unsubscribe visit
> > >
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > > or
> > > send a message to [EMAIL PROTECTED] with
> 'unsubscribe'
> > > in
> > > the body.
> > > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > > ----
> > > --
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> > >
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > > or
> > > send a message to [EMAIL PROTECTED] with
> 'unsubscribe'
> > > in
> > > the body.
> > >
> >
> ------------------------------------------------------------------------
> > > ------
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> > >
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > > or send a message to [EMAIL PROTECTED] with
> > > 'unsubscribe' in the body.
> > >
> >
> >
> ------------------------------------------------------------------------
> > ----
> > --
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> > in
> > the body.
> >
> ------------------------------------------------------------------------
> > ------
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> >
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > or send a message to [EMAIL PROTECTED] with
> > 'unsubscribe' in the body.
> >
>
> ------------------------------------------------------------------------
> ----
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or
> send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> the body.
> ------------------------------------------------------------------------
> ------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.