I\'m coding an application that will be uploading and deleting many files, i usually just move the files to a folder in the server naming them with the row unique id>
Are you bound to using MySQL? If not, try an ODBMS or PostgreSQL to store files, or you could store just the paths for the files. See this for instance.