Every script I've tried isn't able to copy the feature dataset in the top image to the bottom feature dataset (in an SDE).
It's probably something simple, but is there a known function for this? I can't change anything in the SDE as I don't have administrative rights to it.
I've tried Copy_management. But, here the in_data and out_data variables must have the same file extension to work properly.
I've also tried CopyFeatures_management. Here's the syntax and error message for that:
# Import modules
# set workspace
env.workspace = r"T:\Departments\E911\Transfer Files\E911WeeklyUpdate\E911WeeklyUpdate.gdb"
#create a list of feature classes in the current workspace
fclist = arcpy.ListFeatureClasses()
#copy each feature class to a fgdb
for fc in fclist:
fcdesc = arcpy.Describe(fc)
arcpy.CopyFeatures_management(fc, os.path.join("Database Connections\
Jared to plainfield.sde\gisedit.DBO.MGU_Will", fcdesc.basename))