[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] cURL commands failing



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130304/b3ffa3d4/attachment.html