Solved
Forum Discussion
bojanvelevski
3 years agoValued Contributor
Hi @ash42,
You can read the file with a File reader, and pass the content to the script.
Here’s the piece of code that I’ve been using to import a zip file into the script. It might not be of an immense help, but it can help you to get some pointers at least:
inDoc = self.input.next()
content = inDoc.get('content')
files = zipfile.ZipFile(io.BytesIO(content))
Regards,
Bojan