From this text I conclude you're using Docker in the development target
From this text the issue becomes clear, the explanation is in this post:
So you have to put your file in one of those folders that are bind-mounted to the Docker container. What I usually do instead is create a folder called "storage" and configure that in the project settings as the uploads folder