new upload mechanism, using cookies for saving last settings for server and files