Click here to Skip to main content
15,909,829 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Would there be a considerable difference in the space requirements for both these options of storing the PDF files?
Posted

Use folder structure to store PDF file. it is easy to maintain and you can easily access it for further use.

You can store PDF file in database but it is in terms of Array of BYTES.
The disadvantage of storing PDF file is database is, it is very Scary to fetch the BYTE array from database and write it to PDF file.
 
Share this answer
 
Comments
RaisKazi 4-Nov-11 8:41am    
My 5! :) Couple of more points.
1) Extra Database connections.
2) In Directory based approach File will be available even if Database Server is down.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900