Hello, sorry for my english, im trying to submitting items with files
through Swordv2.
I can send the item in a multipart request(from java), but in the dspace
item metadata it saves the title field twice. One with the title i sended,
and another with the title "Untitled [filename]".
I have to send a lot of items with this method, so they should be perfect.
This is the body of my request:
--xpH6_Jfb-AqWQoaIOHm5FMoNKmMJ93j080d0x91
Content-Disposition: attachment; name="atom"
Content-Type: application/atom+xml; charset=utf-8
Content-Transfer-Encoding: binary
<entry xmlns="http://www.w3.org/2005/Atom">
<title xmlns="http://purl.org/dc/terms/">Test enviar a repositorio
SWORD.</title>
< ... more metadata ..>
</entry>
-- xpH6_Jfb-AqWQoaIOHm5FMoNKmMJ93j080d0x91
Content-Disposition: form-data; name= "payload"; filename="file.pdf"
Content-Type: "application/pdf; charset=ISO-8859-1
Content-Transfer-Encoding: binary
(...Binary data...)
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette