FTP file from remote server to client
What is the recommended way to trigger a file download to a user's web browser that lives on a remote (to the CF server) FTP hosted site?
I've looked high and low and can find hardly anything on this topic. The download file is not to made public so I can't just put it into the anonymous account workspace and cflocation to it. This file must come from a restricted access account with username and password required. I do not want to do a CFFTP getfile and then CFFILE read as that is a two-hop transfer doubling the download time. In that case I may as well serve up the file from the web server. The whole point of serving the file from an FTP server is the faster transfer time and offloading our web server. Also note that the download file is huge... >1GB.
I've heard something about using CFFTP and then CFCONTENT but that sounds like a two-hop approach again. If not please provide example of how this would be done.
Another approach may be to use CFFTP to access the FTP server, create an alias (is this even possible with CFFTP?) link that points to the file in another workspace, provide the link to this temp alias that triggers the download, then remove the alias link when done or using a scheduled task. If you know how CFFTP can do these kind of operations let me know how.
If you know how to accomplish what I'm trying to do, please enlighten me.
Thanks!
