Upload works correctly now, files can also be downloaded, 'map' upload