In my case, the files were downloading and showing in the Files app on a simulator (iOS 18.1), but not on my actual device. After an embarrassing amount of time trying different things, my boss suggested restarting my device, and it worked straight away. I am happy that my issue is solved, but very grumpy that it was just a case of switching it off and on again!