Users have been uploading files to a directory for years without any problems. However, the directory where they are uploading the files has become huge and expensive to store.
I wish to upload them all to a MySQL database.
My plan is to run a script,
- Get the data of filename and location from a MySQL
- Using that data get the file from the directory
- upload it to a MySQL database blob.
Easy...
Do you know of any scripts that can do this?
Thanks for you advice
question from:
https://stackoverflow.com/questions/65936427/upload-files-on-mass 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…