A convenient wrapper around Zotero.file(). Writes an attachment to
disk using the optional path and filename. If neither are supplied,
the file is written to the current working directory, and a
Zotero.item() call is first made to determine the attachment
filename. No error checking is done regarding the path. If
successful, the full path including the file name is returned.
A convenient wrapper around Zotero.file(). Writes an attachment to disk using the optional path and filename. If neither are supplied, the file is written to the current working directory, and a Zotero.item() call is first made to determine the attachment filename. No error checking is done regarding the path. If successful, the full path including the file name is returned.