From: Stuart L. <sd...@ab...> - 2008-04-30 13:57:20
|
Hi, > Recently, I downloaded SWORD products from sourceforge and implemented > it to my test EPrints3. By using the Java client, uploading a jpeg file > works fine. However, in case of ZIP file, I received a error message > as follows. > --------------------------------------------------------------------- > status: Setting the username/password: yamaji ******** > status: Posting file to: http://*******.at.nii.ac.jp/app/deposit/inbox > status: The status is: Code: 400, Message: 'Bad Request' > status: Unable to post file to: http://*******.at.nii.ac.jp/app/deposit/inbox > --------------------------------------------------------------------- When depositing the item, are you setting the MIME type? "application/zip" I'm not sure, but you might also need to set the namespace: "X-Format-Namespace: METS" Thanks, Stuart _________________________________________________________________ Gwasanaethau Gwybodaeth Information Services Prifysgol Aberystwyth Aberystwyth University E-bost / E-mail: Stu...@ab... Ffon / Tel: (01970) 622860 _________________________________________________________________ |