import isystem.connect as ic
winidea_id = ''
def test_getDownloadList():
conn_mgr = ic.ConnectionMgr()
conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
opt_ctrl = ic.COptionController(conn_mgr, '/IDE/System.Debug.SoCs[0].DLFs_Program.File')
download_list = list()
for file_index in range(opt_ctrl.size()):
file = opt_ctrl.at(file_index)
download_list.append(file.get('Path'))
print(download_list)
if __name__ == '__main__':
test_getDownloadList()