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.

Reply via email to