EPrints Technical Mailing List Archive
Message: #01667
< 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: David Kane <DKANE@wit.ie>
- Date: Wed, 6 Mar 2013 21:46:32 +0000
Matthew. Brilliant. Thanks! This could help a lot. :-) David. ________________________________________ From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Matthew Kerwin [matthew.kerwin@qut.edu.au] Sent: 06 March 2013 21:07 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: Adding files to an eprint using cURL 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 *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
- 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] Re: Adding files to an eprint using cURL
- From: Matthew Kerwin <matthew.kerwin@qut.edu.au>
- [EP-tech] Adding files to an eprint using cURL
- Prev by Date: [EP-tech] Re: Adding files to an eprint using cURL
- Next by Date: [EP-tech] Display problem in IE (CSS .ep_search_results)
- Previous by thread: [EP-tech] Re: Adding files to an eprint using cURL
- Next by thread: [EP-tech] Deposit to eprints via SWORD authenticated via LDAP.
- Index(es):