Hi
From your curl command I suppose that you use Windows for the deployment. Because the file (or the better the path) you want to deploy starts with a D:, but after that the path has slashes ('/'). Windows normally uses backslashes ('\') for its filesystem. I don't know how curl handles this. But maybe this is your problem.
There is a document section about how to use curl for deployment: https://developer.axonivy.com/doc/latest/engine-guide/tool-reference/api-reference.html?highlight=curl#deployment
Kind regards
Lukas