How to download binary data from shell

For Archetypes File objects:

obj = app.restrictedTraverse(„path/to/object")
data = str(obj.file.data)
1 Like