I am looking to do a project over the next month to develop a file scanner in Java but am new to programming and am unsure if Java is the right medium to use. I want the scanner to look through files on a device for .jpg and .jpeg files extensions and also scan the files for the ÿØÿà file header in case the file has been changed on purpose. I want the scanner to link to a database that can be queried MySQL or PostgreSQL via PHP or JSP and the information of each individual .jpg file to be stored as under a reference number for the PC. I would then like to develop the Java application to offer the option to extract the file itself.
The overall goal of designing the application is to develop a web based tool that can a user can enter a Dropbox/Google Drive/Sky Drive etc account information and the Java tool will scan the folders and files for the .jpg files and send the information to the database so that it can be queried using another web based application that i will develop later.
Before I start down this route (I am prepared to put a lot of hours in learning the right tool) I have these questions:-
Should I be looking to do this with Java or Java Script?
Should I use PHP or JSP to link to the database?
Should I use MySQL or PostgreSQL?
Is this even a viable project due to way Dropbox/Google/Microsoft protect their Cloud storage?
Am I mental to try and develop this as a newbie to programming in the time frame I have?
Many thanks and nervously look forward to the answers!