Hi Arucas, Would a command line tool such as curl do what you want?
curl -i --data-binary "@dspace-sword/example/example.zip" -H "Content-Disposition: filename=myDSpaceMETSItem.zip" -H "Content-Type: application/zip" -H "X-Packaging: http://purl.org/net/sword-types/METSDSpaceSIP" -H "X-No-Op: false" -H "X-Verbose: true" http://dspace:dspace@localhost:8080/sword/deposit/123456789/2 Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 19/01/2012, at 12:45 AM, Arucas Chacón wrote: > Hi everybody, > > In our Project We need to deposit files without using a client, but we are > not sure which are the methods and clases to do it.. > Should I program sth like DummyServer and its doDeposit() method? We've > already tried it by using code of Sword Web Client but I can't found out the > way to do it Works.. > Our enviornment is the following: > DSpace 1.6.2 > SWORD 1.3 > > Any suggestions? > > Thanks in advance > > Arucas Chacón de Frutos > Apoyo a Sistemas Informáticos > Unidad de Recursos de Información Científica para la Investigación - Unit of > Information Resources for Research > Consejo Superior de Investigaciones Científicas - Spanish National Research > Council > ESPAÑA-SPAIN > e-mail: arucas.cha...@bib.csic.es > > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > sword-app-tech mailing list > sword-app-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sword-app-tech ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech