Hi Everybody,
We're in the final stage of our Nesstar data migration to dataverse project and have hit a wall with file uploads (the metadata import works fine). We're using dataverse 4.8.4 build 128-ef7dce7, and we've coded the migration project in php 7.2. We work in php so as to create a friendly interface to broaden the migration workload for non-technical staff.
The issue we're having is that not matter how we pass the file path parameter in the curl command we get a "The file name cannot be determined" error. When we curl directly on our linux host the error only happens with the path or file name are incorrect. So for example this
works as a linux command, but the php curl equivalent invariably fails. In linux, the error only occurs if the the path is incorrect. We've tried relative and absolute paths but nothing seems to work.
So we're wondering what exactly triggers the "The file name cannot be determined". Is it always a bad filename or path? Could something else be wrong? Is the path relative to the dataverse installation location, or possibly glassfish?
Please forgive me if these questions sound silly - we're still getting our feet wet with our installation. Hoping there is someone out there will similar experience, even if not working in php.
Thanks very much for the help. Best, Frank