Reverted to uploading to local server. This time upload should go to tmp folder.