How to remove attachment file itself but keep the record in the Zotero storage?
Context: I used the Webdav to sync attachment files. But I also need to create and upload attachments to the Zotero storage by automatic scripts because the local api don't support any writing processes. However, once the file is downloaded from the Zotero storage to my local device, the file itself is not needed anymore, but the record should be kept.
So, how can I just remove the attachment file from the Zotero storage to save the limited free space, but kept the "attachment item" not delete?
So, how can I just remove the attachment file from the Zotero storage to save the limited free space, but kept the "attachment item" not delete?
Upgrade Storage
If you're trying to remove an uploaded file from Zotero Storage online, you'd have to either delete the attachment itself — which would also delete the attachment from WebDAV — or use Purge Files in My Library from your storage settings page. Local API write support is coming in the next Zotero beta. Watch zotero-dev for the announcement.