EPrints Technical Mailing List Archive
Message: #01666
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Adding files to an eprint using cURL
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Adding files to an eprint using cURL
- From: Matthew Kerwin <matthew.kerwin@qut.edu.au>
- Date: Thu, 7 Mar 2013 07:07:16 +1000
David, > but the contents were @dandelion2.JPG, which is the filename, not the data The contents are probably actually " @dandelion2.JPG", because that is what you passed as the parameter to cURL: > --data-binary " @dandelion2.JPG" The @filename parameter trick only works if the _first_ character of the binary data is an @ symbol, but you've put it as the second (the first being a space). That should fix up a small part of your issue, and get it working on the downgraded package, at least. Cheers -- Matthew Kerwin | QUT Library eServices | ph 3138 3910 | matthew.kerwin@qut.edu.au
- References:
- [EP-tech] Adding files to an eprint using cURL
- From: David Kane <dkane@wit.ie>
- [EP-tech] Re: Adding files to an eprint using cURL
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Adding files to an eprint using cURL
- From: David Kane <DKANE@wit.ie>
- [EP-tech] Re: Adding files to an eprint using cURL
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] Re: Adding files to an eprint using cURL
- From: David Kane <DKANE@wit.ie>
- [EP-tech] Adding files to an eprint using cURL
- Prev by Date: [EP-tech] Re: Update Existing eprints entry.
- Next by Date: [EP-tech] Re: Adding files to an eprint using cURL
- Previous by thread: [EP-tech] Re: Adding files to an eprint using cURL
- Next by thread: [EP-tech] Re: Adding files to an eprint using cURL
- Index(es):