Changed the uploading procedure. Now the user is prompted with a window and the user can choose to upload to the server.