Save Byte array to file

C

Chris

How do I save an array of bytes to a file?

I am binding a update parameter to a fileupload control. It passes the file
to my object as a Filebytes datatype. I am assuming it is just an array of
bytes and I can assign it to a byte() array. Just not sure how to save it as
a file.
 
C

Chris

I am getting the byte array from the Filebytes datatype in one of my
objectdatasource's update parameters. Is there any way I can get the
original file name like you can when you use the postedfile with the
fileupload control. Other than that it works great.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top