When trying to download an attachment using the CLI, I get a response of “Not found.”
Is it just me?
When trying to download an attachment using the CLI, I get a response of “Not found.”
Is it just me?
I am getting the same error.
I got it now. The documentation is wrong. It says:
bw get attachment <filename> --itemid <id>
But correct would be:
bw get attachment <attachment_id> --itemid <item_id>
attachment_id is the id of the attachment.
item_id is the id of the encapsulating item.
No filename needed. The default filename gets used but could possibly be overridden with the --output
argument.