|
Dear all, I'm trying to upload a shapefile via rest api. I use the following command: curl -u admin:geoserver -XPUT -H 'Content-type: application/zip' --data-binary @C:/cultivated-areas.zip http://localhost:8080/geoserver/rest/workspaces/prova/datastores/test/file.shp This test fails both on geoserver 2.0.3 and 2.1-RC3 releases, in fact it seems to fail while unzipping my source and i got the exception: java.io.IOException: Wrong magic number, expected 9994, got 1347093252I found also in the JIRA the GEOS-3973 "Errors decompressing zipped shapefiles when sending them via rest to GeoServer" fixed but I can't do the upload.Please, can you help me? Thanks in advance, Marianna |
------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
