This content has been marked as final. Show 4 replies
Why use FTP?
Why not use a normal link:
<a href=" http://YourServer/YourDir/Database.mdb">Download the DB</a>
This can be secured the same way as the rest of your web app and works with ALL browsers, not just IE.
Thank you for your suggestion, but our database is outside of the root of my website and your suggestion does not work.
You need to have user permission set on the server for the folder the db is in
OK, here's how you handle that:
- Create a new file,
Its contents are these two lines, to start:
<CFHEADER name="Content-Disposition" value="inline; filename=MyDataBase.mdb">
<CFCONTENT type="application/vnd.ms-access" file="C:\temp\UsersDB.mdb">
- Now the link becomes:
<a href=" http://YourServer/YourDir/AccessDB_Server.cfm">Download the DB</a>
BTW, this all kinds of security advantages and works with any browser.
- Create a new file, AccessDB_Server.cfm .