Assuming that the file is not too large, you get the data as a Byte array and then call File.WriteAllBytes. If the file is too large for that then you may be able to stream the data and then read and write in in chunks. That is certainly possible with SQL Server but I'm not sure whether it is with MySQL or not.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.