Can I get the files inside a .zip without unzipping it?

Hi @guintherlanger

In order to get the list of file names inside a zip file you can use a python library “zipfile”. As python integration is possible in UiPath using Python Scope you can try this method.

from zipfile import ZipFile

with ZipFile('file.zip', 'r') as zip:
    for info in zip.infolist():
        print(info.filename)

The code above gives the list of file names inside the “file.zip” zip file.

For detailed info refer this article

3 Likes