Results 1 to 3 of 3

Thread: Reading and returning binary files (jpg/gif) from a file not a database

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Location
    San Francisco, CA
    Posts
    2

    Reading and returning binary files (jpg/gif) from a file not a database

    I have a class that needs to read in a binary file (jpgs/gifs) from the directory location and return the binary file - not the path to the file. I've searched online, .net studio documentation and havent found any examples of how to do this. I've found a few examples how to read binary data from a database, but nothing on reading it from a file and then returning the file itself.

    thank you
    brian
    Brian Moyet

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Are you sure? Search more, you will find a lot!
    Reading binary streams and dumping them to files is quite easy using System.IO classes, at least thats what i think.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Location
    San Francisco, CA
    Posts
    2
    thanxs, we'll keep looking system.io is what we've been trying to use.
    Brian Moyet

Posting Permissions

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



Click Here to Expand Forum to Full Width