Storing Movie File

Results 1 to 2 of 2

Thread: Storing Movie File

  1. #1
    Join Date
    Dec 1969

    Default Storing Movie File

    How can a movie file be stored in sql 7.0 and then retrived from database for display.<BR><BR>Please suggest me the proper asp functions to do the mentioned task

  2. #2
    Join Date
    Dec 1969

    Default RE: Storing Movie File

    Well.<BR>1) Read the file using the Scripting.FileSystemObject or ADODB.Stream objects.<BR>2) Push the data into the database field<BR>3) Read the data using ADO and push to the user using Response.BinaryWrite.<BR><BR>However, this is ugly as sin. You should NEVER store files inside a database. It&#039;s slow, and not what databases were designed to do.<BR><BR>Store a reference to the file, and then stream the file off the hard disk.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts