Skip to main content
Question

Accessing files from a rar/zip folder within Box via Python

  • May 22, 2025
  • 1 reply
  • 5 views

Forum|alt.badge.img

Hello,

I have been using some Python code in order to access csv files within folders in Box and then read, manipulate and extract them. 

However, I came into a problem while trying to access files within rar/zip folders. It seems that Box sees the rar/zip folders as files instead of as folders (in Box type terms). Moreover, when I try to access them I get a 404 error and the process terminates. 

Is there a way to access files within rar/zip folders in Box via Python without manually extracting them?

If the above is not clear I would be happy to provide more clarifications and/or some code snippets in order to facilitate things. 

Thank you in advance.

 

Kind regards,

Dimitris

1 reply

Forum|alt.badge.img

Hi, 

This is not something we offer. Box sees zipped folders as zipped - meaning Box doesn't know the internal file structure.

Thanks,

Alex, Box Developer Advocate