Accessing files from a rar/zip folder within Box via Python
AnsweredHello,
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
-
Official comment
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
Comment actions
Please sign in to leave a comment.
Comments
1 comment