Use the upload directory to store files.
You should never store files in the plugin directory. There is no guarantee that you have write access there.
Use the upload directory to store files.
You should never store files in the plugin directory. There is no guarantee that you have write access there.