Hi Matt,
I am just getting around to playing with this again and am hoping you can help me figure out the rest. Basically I figured out the response is chunked so I need to figure out how to put it back together. Here is what I have so far, but it doesn't quite work.
file = open('c:\\file1.ucs', 'w')
ctype = "null"
foffset = 0
while (ctype != "FILE_LAST" ) or (ctype != "FILE_FIRST_AND_LAST"):
ret = b.System.ConfigSync.download_file(file_name = "/var/local/ucs/sat.ucs", chunk_size = 65536, file_offset = foffset)
fdata = getattr(ret,'return').file_data
foffset = getattr(ret, 'file_offset')
foffset = foffset
ctype = getattr(ret,'return').chain_type
unencode = base64.b64decode(fdata)
file.write(unencode)
file.close()