prompt a menu for users to choose whether upload a file or create a directory