Hello Friends,
I'm storing Video files into the database and when required, i retrieve them and store them on the folder.
Issue: Before storing the video file in to the database, the size is 2 mb and after retrieving , its 10mb.
This is the method i use to retrieve the files,
Dim fs As New FileStream(path, FileMode.CreateNew)
fs.Write(bimagedata, 0, bimagedata.Length)
Dim bw As New BinaryWriter(fs)
Dim i As Integer
For i = 0 To bimagedata.Length
bw.Write(CInt(i))
Next i
Can someone please tell me a better way to retrieve and store the video files in a folder.
Thanks in advance.
hkk