Im trying to get a file out of a database and open up a download with the file and the correct filename. Ive done this, but the download is 94kb and when i try to download it it only downloads 63kb of the file. Anyone know how to fix this? And also, is there anyway to add the filesize along with the header?
Wait a minute... is the FILE in the database, or is a reference to the file in the database? There is a big difference.
If you sent the file, most likely it only accepted 63kb to the database.
The file itself is inside of the database. Its stored in a blob feild. If you would like ill show you the code.