How do you usually save images on a server?

Asked 2 years ago, Updated 2 years ago, 39 views

Hello.

I want to save the image as an Android image to the server as a library. Do you usually save it as a base 64 string or byte code in each row of the DB? Or do you store files in the cloud as if they were stored in an FTP concept? Thank you.

image

2022-09-22 21:54

1 Answers

On the server, upload files are typically stored in the file system by generating random names so that the file names do not overlap, and by matching the original name with the new name with other information, it is stored in the DB.


2022-09-22 21:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.