auto download, upload with the website and communicate with MySQL