Yes, I found a solution/workaround.
Problem is: after moving to a different server the serialized data for the files is not longer valid. So downloads doesn’t work.
I used the workaround here:
Migrate WordPress Site from Local Development to Live Server and fix serialized data issues
and changed the maybe_unserialize() method.
I got it – the problem is in the WordPress serialization ..