I have asked a question regarding updating a csv file's contents to the db here.
Now I want to add this functionality, like my db will contain url to images that are stored in a pre-specified folder on the server.
The csv files will contain the urls as to where these images reside on the client side. Now when I click an upload the following should happen
- My file must read the location of image on the client side
- Must copy the image from the client to the server's pre-specified folder
- update the corresponding field in the db table with the url of the image