diff --git a/confluent_server/aiohmi/ipmi/oem/lenovo/imm.py b/confluent_server/aiohmi/ipmi/oem/lenovo/imm.py index 8657b30a..45157925 100644 --- a/confluent_server/aiohmi/ipmi/oem/lenovo/imm.py +++ b/confluent_server/aiohmi/ipmi/oem/lenovo/imm.py @@ -1348,7 +1348,7 @@ class XCCClient(IMMClient): {'Generate_FFDC_status': 1}) url = '/ffdc/{0}'.format(result['FileName']) if autosuffix and not savefile.endswith('.tzz'): - savefile += '-{0}'.format(result['FileName']) + savefile += '-{0}'.format(os.path.basename(result['FileName'])) fd = webclient.make_downloader(wc, url, savefile) while not fd.completed(): try: diff --git a/confluent_server/aiohmi/redfish/oem/lenovo/xcc.py b/confluent_server/aiohmi/redfish/oem/lenovo/xcc.py index 818f931b..1dca761f 100644 --- a/confluent_server/aiohmi/redfish/oem/lenovo/xcc.py +++ b/confluent_server/aiohmi/redfish/oem/lenovo/xcc.py @@ -1644,7 +1644,7 @@ class OEMHandler(generic.OEMHandler): {'Generate_FFDC_status': 1}) url = '/ffdc/{0}'.format(result['FileName']) if autosuffix and not savefile.endswith('.tzz'): - savefile += '-{0}'.format(result['FileName']) + savefile += '-{0}'.format(os.path.basename(result['FileName'])) fd = webclient.make_downloader(wc, url, savefile) while not fd.completed(): try: