We are developing a web GIS using Flexviewer and we want to allow users to upload a shp file and insert it into a ArcSDE geodatabase. I think there are two steps at least.
upload the shp file (zip) to a directory on the server
call some function to load it to the ArcSDE geodatabase
I am not sure what is the best practice for this requirement. using ArcObjects or Geoprocessing service (ArcPy)? Any advise is appreciated.