Solved

Anyone's used Filestream?

Posted on 2012-04-05
5
365 Views
Last Modified: 2012-08-14
I need to upload patient information files (not huge ones, some PDF files) . I've been thinking about either using .Net's encryption to encrypt and decrypt OR use filestream here:

http://msdn.microsoft.com/en-us/library/cc645923.aspx

Anyone's used it? will I run into corrupt data and problems later when we go live? should I just C# to encrypt and load to a folder and then download and decrypt?

thanks
0
Comment
Question by:Camillia
  • 3
  • 2
5 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37814912
Not sure why you would encounter corrupt data.
If you want to know about the virtues of using filestream for storage and access then you can't get better than this excellent document
http://msdn.microsoft.com/en-us/library/cc949109.aspx
0
 
LVL 7

Author Comment

by:Camillia
ID: 37814922
Have you used it? as far as corrupt data...i think storing files in sql 2000 corrupted data, no?
I'm not a DBA but i remember reading about it back in the day.

Thanks for the article, let me read. Thanks
0
 
LVL 29

Expert Comment

by:QPR
ID: 37814932
Yes within sql but not in a web/windows application.
Filestream was introduced in sql server 2008 so 2000 info must be referring to something else, perhaps BLOB.
Filestream stores the files themselves in the file system as opposed to the database.

Here are the best practises for filestream
http://www.mssqltips.com/sqlservertip/1875/best-practices-when-using-filestream-feature-of-sql-server-2008/
0
 
LVL 7

Author Comment

by:Camillia
ID: 37814941
thanks again. I was able to create the filestream database. I will continue
0
 
LVL 7

Author Comment

by:Camillia
ID: 37818185
it did corrupt the files. I opened a question here. Can you take a look?

http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SQL_Server_2008/Q_27665866.html
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Managing Columnstore Indexes 2 27
Ssis not sending failure message 2 23
Find data in a column which is not in  a date format 29 30
SQL 2008 with .NET 4.5.2 4 28
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question