ZotFile - Advanced PDF management for Zotero

  • Yes, I checked it now again. When I copy the file from the mounted webdav I have the annotations, but not using 'Get from Tablet'. Thanks!
  • Hi, me again... what is different compared to before is that there are no items in the "Tablet Files (modified)" Search folder anymore. This is now completely empty.

    Though, when I open the search folder before I mount the webdav directory I get error messages, which say that the files in the webdav files are not available.
  • edited February 10, 2019
    Another information:
    The "Modification Date" in the explorer does not seem to change after ading annotations. In addition it has the exact same time as for the original file, which is still in the local zotfile directory; only the size is slighly larger.
    Could this be the problem for zotfile as it thinks the file did not get modified?
  • edited February 16, 2019
    Hi. I think Zotfile is just what I need, but it doesn't seem to do what I think it does, so seeking some clarity here.

    Use the Firefox plugin. The Zotero entry is recorded and the PDF downloaded and placed in Zotero storage accordingly.

    Go to Zotfile General Settings. Did nothing in there except set Customer Location to /Users/Bob/deletemetest

    Now use the Firefox plugin. And nothing happens. No entry in Zotero, and no files put anywhere that I can see.

    Any and all help most welcome. Thanks in advance.

    Zotero 5.0.60
    Zotfile 5.0.9
  • Hello! I'm using zotfile on an ipad II. (Zotero 5.0.60, zotfile most recent update) All was great until today when suddenly I was trying to use it and there was no "send to tablet" or "get from tablet" option in the "manage attachments" dropdown menu. I realized that I am trying to do this from a group library for the first time. It seems to work from my regular library but not from the group library. Is this fixable?
  • @Larisa -- I'm afraid Zotfile currently does not do anything in groups (the send to tablet functionality could absolutely work for groups, but since Zotfile's principal function is related to linked files, and those don't exist in groups, it's never been enabled)
  • Hello Everyone - I just moved from EndNote to Zotero (waited too long) and I went through the setup outlined in the link below. However, I cannot seem to get Zotfile to move the attached PDFs to the designated folder. It keeps placing them in a "Storage" file on my computer and not in my cloud folder. Even new references are not going to the designated file. Am I missing something?

    I am using Mac OS 10.14.3 with Word and the newest versions of Zotero and Zotfile.

  • edited March 3, 2019
    I've successfully move my previous (storage based repo) to new linked attachment. But now I want to change the structure from '%c/%a' to '/%a'. This means I want to re-structure my attachment folder (bcz managing all those old subfolder and constantly ask about multiple assignments when paper belongs to multiple folder is disturbing).

    However, I tried to do so but just get some error complaining about top level or sth. I didn't move on since I afraid might break the system. I've an old library and more than 2000 papers. Is there a way to re-structure or update the attachment directory based on a new rule?

    I fix the problem with reset and restart the Zotero.
  • Thanks for the work you've put into Zotfile. I have a PDF which 'extract annotations' is not working for. I get an output, however, it misses entire paragraphs which have been highlighted, or will drop a number of letters in a sentence. Any suggestions? As per the instructions here I have uploaded the relevant file here. Any assistance much appreciated. I haven't noted any other buggy pdfs yet.

  • Hey everyone, new to Zotero and ZotFile. When I add a new reference and file it is not placing it in the designated folder I put on the Zotfile preferences but instead is going into a Zotero storage folder. When I right click and "rename" the reference it does go to the designated folder. Any ideas why it doesn't move it automatically?
  • Hello,
    I am using zotfile in zotero and dropbox to sync between two computers one mac and one windows. Note that I do not sync the sensitive files of zotero, I am using zotfile to point to a folder in dropbox for a preferred storage folder and I link the files.

    In mac, I am using zotfile in zotero standalone both the latest version. I have plugin in chrome 73.0.3683.75 (Official Build) (64-bit) on macos 10.14.3

    I have setup the configuration such as I have the main zotero files in my local disk and the zotfile to link and rename the files in a file dropbox.

    The problem is that when I use the plugin in chrome, zotfile does not always work and the files are not renamed and are stored in the default zotero location.

    I have not managed to find a general pattern when this problem appears. One incidence is when zotero is minimised to dock by pressing the x-button and not the minimising (since in mac the application is still open with this action but does not show the window). However, this is not always the case that this happen. Zotfile starts working again sometimes if I close chrome and zotero and relaunch the applications, but this is of course not a solution to the problem, since I have to lose my work up to that moment.

    Do you have any idea how to fix this problem?

    Another problem in both windows and mac chrome is that when i use the zotero plugin in the webpage which contains the information for the article as well as a link to the pdf, then the pdf will be downloaded and saved follwing the zotfile settings. But when I have actually opened the pdf file then it is saved according to zotero rules.
    I wonder how I could prevent that and always be saved using zotfile.

    Thanks a lot in advance!
  • Hi,
    First, I am very happy with Zotfile and Zotero since 1 year (I moved from Papers)
    I have a problem that has been reported by other ones and I found no solution: When "renaming" in Zotfile manually to move a PDF, the notification says "attachment ignored because it has no parent file, is a capture of a web page or the file does not exist" (approximate, I translated) and the file is not moved. However, when I export to the tablet, it works.
    As it used to work, I have now my PDFs in two places: Zotero storage subfolder and Zotero attachment subfolder (that I used to sync with the cloud)
    The bug console says everything is OK: Aucune erreur n'a été enregistrée depuis le démarrage de Zotero:

    version => 5.0.65, platform => MacIntel, oscpu => Intel Mac OS X 10.13, locale => fr-FR, appName => Zotero, appVersion => 5.0.65, extensions => ZotFile (5.0.9, extension), Zotero LibreOffice Integration (5.0.14.SA.5.0.65, extension), Zotero Word for Mac Integration (5.0.18.SA.5.0.65, extension), Shockwave Flash (, plugin)

    Many thanks if you can help

  • edited 22 days ago
    Firefox 66.0.1
    Zotero 5.0.65 Standalone
    System: Linux Mint 19.1 XFCE 64-bit

    Issue: Okular highlights in PDF are not extracted
    I recently installed Zotfile, after which I tested it with a PDF file that had a few highlights. The extraction worked well.
    I now have a PDF with some 140 pages, and more highlights, though certainly not on every page, but the extraction does not work. The notification box telling me that the extraction is taking place stays there but there is no result. I left it on for more than 1 hour.
    Any suggestions?
  • I'm setting up my folder structure as "Letter/First-Author-Surname/", like:

    S/Smith/Smith, Jones, Zhang (2019) Why Zotero and Zotfile rock.pdf

    To get the first-author surname for the name of the subfolder, I've come up with the following user wildcard (linted), that chops off " etal" or everything after the first comma (which I've set my author separator to):

    "1": {
    "field": "author",
    "operations": [{
    "function": "exec",
    "regex": "^([^,]*?)(,.*)?( etal)?$",
    "group": 1

    If this is the best way to do it, I can definitely live with it. (It even magically uses an underscore if there's no author!) Just wanted to check that there isn't some hideous problem with it that I haven't noticed and that there isn't a cleaner way to do it — like maybe an undocumented field for first author, like there is for last author (fingers crossed).

    One other issue that *might* deserve your attention. My first attempt at this was the following (linted), based on the examples in the Zotfile documentation:

    "1": {
    "field": "author",
    "regex": "([^,]*)",
    "group": 1

    Trying to run "Rename Attachments" with the simpler wildcard in the subfolders pattern failed. The usual tooltip would pop up *saying* renaming had succeeded, but files weren't renamed and (fortunately at least) Zotero didn't believe they'd been. I only ended up with the working version by ransacking extensions.zotfile.wildcards.default for a model.

    If you *expect* that the simpler JSON should work, it doesn't.

    If you intended for the simpler version to stop working in recent versions of Zotfile, it would help to update the examples in the documentation.

    If I just made some boneheaded mistake that deserved to fail, there's no need to explain exactly what it was. But, if you've got lots of free time :-), it might help if a failure wasn't accompanied by an inaccurate "success!" message.

    Thanks for all your work!

    -- Kevin

    Zotero 5.0.64, Zotfile 5.0.9, Windows 10
  • edited 51 minutes ago

    Batch rename and move is failing when more than one item is selected. It is failing erratically - sometimes successfully completes first reference, sometimes leaves the original (now broken) link to the PDF.

    I'm in the middle of (attempting) to transitioning my library (~4200 items, ~6 gbs) from Zotero storage to Dropbox, so this is a serious wrench in the works!

    I've been a devoted Zotero+Zotfile user for a few years, thanks y'all for all your great work!

    Here is the Zotero error log:

    [JavaScript Error: "this is undefined" {file: "resource://gre/modules/osfile/ospath_win.jsm" line: 238}]

    [JavaScript Error: "attNew.addTags is not a function" {file: "chrome://zotfile/content/zotfile.js" line: 975}]

    version => 5.0.66, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 5.0.66, extensions => Zotero LibreOffice Integration (5.0.14.SA.5.0.66, extension), Zotero Word for Windows Integration (5.0.12.SA.5.0.66, extension), ZotFile (5.0.9, extension)
Sign In or Register to comment.