added "settings" command to retrieve server settings
file upload improved