Skip to main content
Participant
March 30, 2009
Question

FTP download

  • March 30, 2009
  • 3 replies
  • 789 views
I am trying to find a way to send logged in web visitors (Dream Weaver using ColdFusion) to an FTP page to pick up large files (200 megs), WITHOUT them seeing or needing to know the username or password for the FTP page. This would be a download only for web visitors. No upload, updates, etc. I have tried CFFTP, but that just moves the file from an FTP server to the ColdFusion server. I need to be able to send the file from our FTP server to the client's computer. Tried using CFLOCATION, but that doesn't seem to let the FTP page open at all. Also, I need to get this working in a multi-threading environment, if that is possible.
This topic has been closed for replies.

3 replies

Inspiring
April 1, 2009
auntiealias wrote:
> Yes, that will do it. It just seemed like there might be a way to send a password masked. Thanks a million for the suggestion!

You can send a user name and password in the link, but it can not be
masked and any knowledgeable person would be able to see it.

href="userName:password@FTPserver/downloadDirectory/fileToDownload"

That is why I suggested configuring the FTP server to allow anonymous
download of files from the desired directory, you have much more control
of things that way.

Participant
March 31, 2009
Yes, that will do it. It just seemed like there might be a way to send a password masked. Thanks a million for the suggestion!
Inspiring
March 30, 2009
Can you not configure the desired FTP resource to allow anonymous FTP
access for download only? This is how our FTP server is configured.

Then a simple link would do it: <a
href="ftp://nameOfFTPserver/downloadDirectory/fileToDownload">Download
now</a>