The initial problem I had/still have, which I think Richard is also
experiencing is this.....

I have functionality on a web site I built where users, who are quite
possibly IT illterate, can dynamically build an HTML page depending on
information they submit to a database.  They can then view this HTML page or
Email it to somebody (CFMAIL).  What I was trying to allow them to do was to
download the file to their hard drive, preferably as a .doc document so they
could work on it off line.  The problem I was having is that as their
browser recognises the file format as HTML and then opens it in their
browser rather than promting them to save it somewhere.  I know the user can
click file - save as on their borwser but the whole idea of this excersise
was to provide thia functionality in the click of a button so I wasn't
asuming any amount of IT literacy.  Any of you guys know how to do
this?....I haven't found one person who has been able to do this yet.

Andy

------------------------------------------------------------------
Andrew Ewings
Project Manager
Thoughtbubble Ltd
------------------------------------------------------------------


-----Original Message-----
From: Peter Tilbrook [mailto:[EMAIL PROTECTED]]
Sent: 11 October 2000 00:17
To: CF-Talk
Subject: RE: Problem with CFFTP


FTP is better suited to transferring large files unlike HTTP.


I am kind of confused since the question seems to be asking why doesn't
orange juice come out of my apple...
If the user is not running an ftp server, you will not be able to ftp to
them. Much better to just include a link in the same page to the generated
file. That would let them download the file onto their computer using their
browser and save it wherever they want.

jon
----- Original Message -----
From: "Richard Kern" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 7:03 PM
Subject: RE: Problem with CFFTP


> ANDY,
>
> This is now a current question for me.  How were you able to resolve it?
>
> Thanks,
> Richard
>
> -----Original Message-----
> From: Andy Ewings [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 22, 2000 4:56 AM
> To: CFTalk (E-mail)
> 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.

Reply via email to