Home > Net >  Database file download baxe64 strings
Database file download baxe64 strings

Time:09-20

File content stored in the database of image type field, and know the file name, and how to realize database baxe64 string file download

CodePudding user response:

Advice about photo storage to save images to the server, save the path and file name in the database,
Flow can be directly read about base64 file download

CodePudding user response:

Base64 string is first converted into a byte [] sentence.

Then IO. File. Writeallbytes (" name ", byte []) is a word..

The resulting entity files directly to download path or file stream (that is omitted the second sentence)
  • Related