From: LEWIS S. <Stu...@ed...> - 2012-04-30 15:36:13
|
>> 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. |