3 Replies Latest reply on Apr 1, 2009 7:03 AM by Newsgroup_User

    FTP download

    auntiealias
      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.
        • 1. Re: FTP download
          Level 7
          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>
          • 2. Re: FTP download
            auntiealias Level 1
            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!
            • 3. Re: FTP download
              Level 7
              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.