I have a script that retrieves logs from CUCM. My criteria for file selection is:
criteria = {'FileSelectionCriteria':{
'ServiceLogs':'Cisco CTIManager',
'SystemLogs':'',
'SearchStr':'',
'Frequency': 'OnDemand',
'JobType': 'PushtoSFTPServer',
'ToDate':'',
'FromDate':'',
'TimeZone': 'Client: (GMT-5:0)Eastern Daylight Time-EST5EDT',
'RelText': 'Minutes',
'RelTime': '1',
'Port':'22',
'IPAddress':'10.1.1.1',
'UserName':creds.sftp_username,
'Password':creds.sftp_password,
'ZipInfo':'false',
'RemoteFolder':'/'
}
My issue is that the results don't match the request. Instead of collecting 1 minute of files, it collects all files. Instead of sending the files unzipped, it sends them zipped. Has anyone else run into this?