cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Unable to open ZIP file for extraction

Attempting to use the web API with ePO 5.1 to automate checking in the DAT package.  The ePO server does not have access to the internet, so automatically pulling the file from the net is not an option.  Below is the sanitized script and resulting error.  Any clues on why it is trying to open the ZIP file rather than checking it in?

Script

import mcafee

mc = mcafee.client('localhost','8443','username','password')

mc.repository.checkInPackage('\\x.x.x.x\avvepo7829dat.zip','Current','moveToPrevious')

Error

C:\Python27>python dat_automated.py

Traceback (most recent call last):

  File "dat_automated.py", line 11, in <module>

    mc.repository.checkInPackage ('\\x.x.x.x\avvepo7829dat.zip','Current','moveToPrevious')

  File "C:\Python27\lib\mcafee.py", line 454, in __call__

    raise e

mcafee.CommandInvokerError: Unable to open ZIP file for extraction

3 Replies
Highlighted

Re: Unable to open ZIP file for extraction

Greetings.

Can you please advise where I can get the ePO Web API zip file?

Thank you.

zi

Highlighted

Re: Unable to open ZIP file for extraction

Hello Ziyenge,

The files for using the EPO Web API are here -> .  Following these steps ->   There is also a GUI ->.@

Highlighted

Re: Unable to open ZIP file for extraction

$MoneyMan$ - Did you ever figure this out? I am in the exact same spot right now!

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community