EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #01641
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: cURL commands failing
- To: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: cURL commands failing
- From: David Kane <davidfkane@gmail.com>
- Date: Mon, 4 Mar 2013 15:19:11 +0000
That earlier email was sent accidentally. There was a bit more I wanted to write.
We are using this command to add files to the eprint, which it does. It sends the file as an HTTP post attachment - I can see this in the headers - but the result in EPrints is an empty or unreachable file. You can try this for yourselves. David.
On 4 March 2013 15:11, David Kane <davidfkane@gmail.com> wrote:
Hi Can anyone tell us what is going wrong with this command.
curl -X POST -i -u dkane:maggots22 --data-binary '@/var/www/test.txt' -H 'Content-Disposition: attachment; filename=test.txt22.test.txt' -H 'Content-Type: text/plain' http://witeprints/id/eprint/26/contents
--David Kane, MSc (Econ). ILS.
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212
--
David Kane, MSc (Econ). ILS.
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212
Systems Librarian
Waterford Institute of Technology
Ireland
http://library.wit.ie/
T: ++353.51302838
M: ++353.876693212
- References:
- [EP-tech] cURL commands failing
- From: David Kane <davidfkane@gmail.com>
- [EP-tech] cURL commands failing
- Prev by Date: [EP-tech] cURL commands failing
- Next by Date: [EP-tech] Are Closed Access Deposits Indexed by Google Scholar?
- Previous by thread: [EP-tech] cURL commands failing
- Next by thread: [EP-tech] Are Closed Access Deposits Indexed by Google Scholar?
- Index(es):