I have a need to push out a file package that includes a driver via my website for download. The only issue is it cannot be transferred in ASCII mode or else it becomes corrupt. I've looked at alternatives for FTP download but would rather not have an application that is created that can be downloaded just to transfer files. I'm looking into the possibility of creating an ASP.NET page that will use FTP for the download process.
I've seen a few examples but I also have a few questions:
- How best to protect the login/password information instead of putting it in code? Can that be referenced from web.config?
- Any possibility of showing download progress? Is AJAX my only option?
- Ability to allow the user to select a download location on their local machine?
EDIT Could I add a MIME type for ZIP and EXE files of application/octet-stream that would force a Binary download of the files?