Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

FTP download

New Here ,
Mar 30, 2009 Mar 30, 2009
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.
TOPICS
Advanced techniques
740
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 30, 2009 Mar 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>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 30, 2009 Mar 30, 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!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 01, 2009 Apr 01, 2009
LATEST
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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources