Please,
send the full bash script.
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
---
On Wed, Jun 25, 2014 at 12:21 PM, sanguinela sanguin...@gmail.com wrote:
Hi all,
I have problems with calls rest of GeoServer.
I would like to post some geotiff. In my bash script I compose the string and
then run it with exec $nameVariable
The execution of this command causes this error in GeoServer:
*org.geoserver.rest.RestletException**:* *java.net.MalformedURLException**:
no* *protocol:* *file :/ /* */ home /* **
The same statement if I do an echo in the terminal and then run it,
everything works fine
maybe there are problems with double quotes?
This is the instruction:
*instruction* *=* *'**curl-**v-**u**' $* *8 '**,' $* *9 '**-**XPUT**-H*
*Content-type**: text / plain**-d* *file :/ /**'* *$ 7 $* *baseName*
*'**' http://* *'$* *4'**: 8080* */* *GeoServer* */ rest* */ workspaces*
*/* *'**$ {**10}**'* */* *coveragestores* */* *'**$ {**11}**'* */*
*external.geotiff* *'*
*exec** $**instruction*
Note: I also tried this
instruction = curl-v-u $ 8 , $ 9 -XPUT-H \Content-type: text /
plain\-d \file :/ / $ 7 $ baseName \'' http:// $ 4: 8080 / GeoServer /
rest / workspaces / $ {10} / coveragestores / $ {11} /
external.geotiff
Regards.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users