uploading files to server now working