i am trying to download data from arcGis server web service which does NOT have query option.
i try to use: CopyFeatures_management and copy the data to a gdb file, but keep getting "error in executing tool"
this is my code:
from arcgis.features import FeatureLayer
import arcpy, os
fl = FeatureLayer(url)
fgdb = r"C:\GIS_KARKA\Scripts\MAVAT\mavatTemp.gdb"
gdbFc = os.path.join(fgdb, "MK_mavat_plans")
arcpy.CopyFeatures_management(fl, gdbFc)