3Di wrote: ↑Tue Nov 02, 2021 6:35 am
Without being able to see your code and therefore your progress no one can give you an answer, also because it is almost impossible to determine with certainty if a folder is not a file, in JS, assuming you want to use JS. Everything is not clear here, you want to do something but you don't explain how you're doing it, no one has supernatural powers to be able to imagine your work and therefore give you an answer.
Anyway, I think this article is worth reading:
https://stackoverflow.com/questions/250 ... ing-droppe
Thanks for the answer.
In reality, my code won't interfere with anything I need. I need the phpbb system to recognize that a folder is being dragged and prevent it from uploading.
I checked the site that recommended me and I even managed to get it to recognize that it's a folder or file, but once I've dragged it inside, it seems like there's no way to stop the upload.
Again, thanks for the help.