>> filename="myfile.xxx" (this will get the name right in DSpace) > >So possibly the PHP client is not wrapping the filename in quote marks, and >the java server isn't clever enough to check that it's actually stripping >leading >and following quotes, which might account for your missing letters. >I'll check the java one - Stuart, could you have a look at the PHP client?
Yes - it looks like there might be a bug (copied from old v1 code): array_push($headers, "Content-Disposition: filename=" . $sac_fname_trimmed); It needs updating (three times in swordappclient.php) to: array_push($headers, 'Content-Disposition: filename="' . $sac_fname_trimmed . '"'); Try that, and see if it helps. Cheers, Stuart -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech