Ok guys I am almost there,
curl -u admin:geoserver -v -XPUT -H 'Content-type: application/zip'
--data-binary @/var/www/geo/shapefile/zip/Poa_horridula.zip
http://localhost:8080/geoserver/rest/workspaces/acme/datastores/Poa/file.shp
This code finally helped me to get the shapefile in but it seems that the
cURL does not publish it. Is that correct? Do I have to manually publish
the shapefiles?
Thanks,
Smaran
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users