Thanks Ben, that works. Best regards,
Harry Harry R. Sidhunata Technical Support Officer, Library Repository Services, UNSW Library Phone +61 2 9385 1068 | Fax +61 2 9385 8002 | [email protected] | http://www.library.unsw.edu.au UNSW Library | The University of New South Wales | UNSW Sydney NSW 2052 AUSTRALIA | CRICOS Provider Code: 00098G Message: 2 Date: Wed, 10 Jul 2013 06:19:07 -0400 From: Benjamin Armintor <[email protected]> Subject: Re: [fcrepo-user] Issue on REST API upload fedora 3.6 To: "Support and info exchange list for Fedora users." <[email protected]> Message-ID: <CADQQ8TO33VWU7czM=kskn5hslymxthfsoe0q_wxttj4kkax...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Harry- Try naming the multipart attachment 'file'. If this doesn't address your problem, there should be information in the Fedora logs with more detail. Regards, Ben On Tue, Jul 9, 2013 at 8:12 PM, Harry Sidhunata <[email protected]>wrote: > Hi All,**** > > ** ** > > I have a bit of problem when trying to upload file using REST upload > to fedora 3.6 ( > https://wiki.duraspace.org/display/FEDORA36/REST+API#RESTAPI-Upload).* > *** > > The response for the upload always HTTP 400 error code.**** > > ** ** > > I am using the script on link below and it works on Fedora version > 3.4.2** > ** > > > http://www.codejava.net/java-se/networking/upload-files-by-sending-mul > tipart-request-programmatically > **** > > ** ** > > Could someone let me know if there is something that I did wrong to > upload file to Fedora 3.6?**** > > Are there any additional spring setting that I need to modified on > Fedora > 3.6.2?**** > > ** ** > > ** ** > > Regards,**** > > ** ** > > ** ** > > Harry**** > > > ---------------------------------------------------------------------- > -------- See everything from the browser to the database with > AppDynamics Get end-to-end visibility with application monitoring from > AppDynamics Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.c > lktrk _______________________________________________ > Fedora-commons-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk ------------------------------ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users End of Fedora-commons-users Digest, Vol 77, Issue 2 *************************************************** ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
