Thanks Stuart, but I need sth in Java. 
Our Project consists of depositing in our repository though SWORD. The idea
is doing a kind of integrated Client, but EasyDeposit is in php, is there
sth in Java?? Maybe sth like org.purl.sword.client.SWORDClient of Sword Web
Client, Am i right?
Thanks

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
C/Joaquín Costa 22; Desp. 314
28002 MADRID
ESPAÑA-SPAIN
Telf. 34-91-5681671; Ext. Interna 991671
Fax: 91 568 16 81
e-mail: arucas.cha...@bib.csic.es
http://bibliotecas.csic.es

-----Mensaje original-----
De: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Enviado el: miércoles, 18 de enero de 2012 19:12
Para: Arucas Chacón
CC: <sword-app-tech@lists.sourceforge.net>
Asunto: Re: [sword-app-tech] Sowrd deposit without a client

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

Reply via email to