What WebDAV is and who needs it
WebDAV is a standard way of keeping files on a server of your own instead of a company's cloud. Nextcloud, ownCloud, InfiniCLOUD (TeraCLOUD), Jianguoyun, Koofr, university drives and most home NAS boxes all speak it.
Zotero syncs the files attached to your papers either through Zotero Storage or through your own WebDAV server — you choose in Zotero on your computer, under Settings → Sync → File Syncing. If you chose WebDAV, Zotero's servers never hold your PDFs, so Rectoly cannot fetch them from there: every paper shows File not synced until you set the same server up here. Once you have, Rectoly reads from it and writes to it just as Zotero does.
Rectoly can browse a WebDAV server and take a PDF from it — to read on this device, or to add to Mendeley. It is one more way a PDF reaches you, beside your Mendeley library, the files on your device and the watched folder.
If your PDFs were instead moved out of Zotero by ZotFile or ZotMoov, that is a different setting. See Files linked with ZotFile or ZotMoov.
- Setting the server up and Verify Server are free. Reading a PDF from it is the same as downloading one from Zotero Storage: included in the purchase, free during the 14-day trial, and your first paper is free before the trial. See Trial and purchase.
- Setting the server up and browsing it are free. Opening a PDF on the device or adding it to Mendeley is included in the purchase and free during the 14-day trial. Reopening a PDF you already brought over is always free. See Trial and purchase.
Set up WebDAV
Use exactly what Zotero on your computer uses. In Zotero the setting is Settings → Sync → File Syncing; copy the URL, the user name and the password from there.
- Open the setting in Rectoly:
- Settings › Sync & Backup › File syncing (WebDAV).
- Settings › Sync › File syncing (WebDAV).
- Set Sync attachment files using to WebDAV.
- Leave the connection on https and type the URL — only the part between the scheme and
/zotero/, for exampleexample.teracloud.jp/dav. Rectoly adds/zotero/itself, so leave it off; Zotero's own settings work the same way. - Type the Username and Password. Several services want a separate password here — see App passwords.
- Press Verify Server.
Verify Server checks that the address really is a WebDAV server, that your user name and password are accepted, and that Rectoly can put a test file there and read it back again. When it passes, the row reads Verified with the date. Rectoly also verifies by itself before the first transfer if you never pressed the button.
If the zotero folder is not on the server yet, Rectoly asks "…/zotero/ does not exist. Do you want to create it now?" Choose Create and the check carries on. That folder is where Zotero keeps every attachment, so it has to exist.
Some servers do not show a file the instant it is uploaded. Rectoly then says the test file could not be read back right away, marks the server usable anyway, and carries on.
An unencrypted http address is accepted only for a server inside your home or lab network (192.168.…, .local and the like), with a warning that the connection is not encrypted. For anything else, choose https. A certificate Rectoly cannot verify — a self-signed one, for instance — is refused; there is no way to accept it, exactly as in Zotero.
Opening a paper
Nothing changes in how you read. Open a paper; if its PDF is not on the device yet, Rectoly fetches it from your WebDAV server, unpacks it and opens it. See Downloading PDFs and reading offline.
- Papers whose files were still in Zotero Storage when you switched keep opening from there, so a mixed library works without any tidying up.
- Papers in a group library always come from Zotero Storage. See Group libraries and handwriting.
- If the PDF is not on the server yet, Rectoly says This PDF isn't on your WebDAV server. Sync files from Zotero on your computer first. Zotero uploads files at its next sync, so the usual cure is to let your computer finish syncing.
Rectoly checks each file it downloads against the fingerprint Zotero recorded for it, and refuses a damaged one rather than opening it.
PDFs you add in Rectoly
While WebDAV is chosen, everything Rectoly adds to your Zotero library goes to your WebDAV server instead of Zotero Storage: Adding a PDF to Zotero, the watched folder, and PDFs shared to Rectoly from another app.
Rectoly creates the item in Zotero, uploads the file to your server, and records on the item which file belongs to it. Zotero on your computer picks the file up at its next sync and shows it like any other attachment. Nothing else has to be done on the computer.
- Adding to a group library still goes to Zotero Storage, because groups cannot use WebDAV.
- If your server is full, Rectoly says Your WebDAV server is out of space and the paper is not added.
- If the upload is interrupted, it carries on where it stopped the next time Rectoly runs; the steps are safe to repeat.
- Signing out removes the stored password, as it removes your Zotero login. Until you type it again, Rectoly stops before adding a PDF rather than quietly putting it in Zotero Storage.
Group libraries and handwriting
- Group, public and feed libraries always use Zotero Storage. Zotero itself does not allow WebDAV for them, so nothing about a group changes when you choose WebDAV.
- Handwriting stays in Zotero Storage. Rectoly keeps Reading Mode handwriting in a small file of its own beside the paper in Zotero, and that file goes to Zotero Storage even when your PDFs are on WebDAV — so handwriting still reaches your other Rectoly devices. See Sharing handwriting between tablets and PCs.
- Switching back to Zotero Storage costs nothing: papers already on the WebDAV server keep opening as long as the server settings are still there, and PDFs already on the device are never removed. Deciding what to do with the files themselves is a job for Zotero on your computer.
- Rectoly never deletes anything from your server that it did not put there itself.
Add your server
- Open the setting:
- Settings › Sync & Backup › WebDAV server.
- Settings › Sync › WebDAV server.
- Leave the connection on https and type the URL of the folder you want to start from. A Nextcloud address looks like
cloud.example.com/remote.php/dav/files/USER; a university drive or a NAS has its own. Type it without a user name and without any?or#part. - Type the Username and Password. Several services want a separate password here — see App passwords.
- Press Test Connection. When it passes, the row reads Verified, and the browser is ready to use.
One server at a time. Remove clears the settings and deletes the stored password from the device. You need to be signed in to Mendeley to set a server up.
An unencrypted http address is accepted only for a server inside your home or lab network, with a warning. For anything else, choose https; a certificate Rectoly cannot verify is refused.
Browse the server and open a PDF
- In the library, choose … › Open from WebDAV…, or Add to Mendeley from WebDAV….
- Click ⋮ above the library list › Open from WebDAV…, or Add to Mendeley from WebDAV…. While reading, the same items are in the Import menu above the paper.
The browser lists folders and PDFs only — everything else on the server is left out. Open a folder to go into it and use the trail above the list to come back. Name and Date modified sort the list. Rectoly remembers the folder you were in last time.
Then choose a PDF:
- Open brings it onto this device and opens it, with every reading tool available. It joins your other device-only PDFs, so you can open it again for free later. See Opening a PDF without signing in. Picking the same file again does not download it twice unless it changed on the server.
- Add to Mendeley uploads it to your library through the usual confirmation of title, authors and year. See Adding a PDF to Mendeley. You can select several PDFs and have them added one after another.
Rectoly only reads your server: it never uploads to it, renames anything or deletes anything. A folder with more than a few thousand entries is not listed — Too many items. Split the folder.
App passwords
Several services refuse your ordinary sign-in password over WebDAV and want a separate one, usually called an app password. If your user name and password are refused although they are right, this is almost always why — and with two-factor authentication turned on it is compulsory.
- Nextcloud and ownCloud: create an app password in your personal security settings, and use it in place of your sign-in password. The user name stays the same.
- InfiniCLOUD (TeraCLOUD): turn on the apps connection on your account page — it issues an app password, shown only once, to use instead of your website password.
- Jianguoyun: add an application in the account's security settings; it gives you the password to use here.
The user name is the one the service itself shows for WebDAV, which is not always your e-mail address.
Where your password is kept
The address, the user name and the password are kept on this device only, and the password is stored encrypted by the system:
- in the keychain;
- encrypted for your Windows account;
They are sent to your server and nowhere else. Rectoly's own servers never see them, and neither Mendeley nor Zotero is told that you use WebDAV. Signing out deletes the password from the device; the rest of the settings stay, so you only have to type the password again. See Your data.
When something goes wrong
Every failure names your server, never Rectoly's.
| What Rectoly says | What it means and what to do |
|---|---|
| Couldn't reach the server … | Nothing answered at that address: a typo in the URL, no connection, or the server is down. Open the address in a browser to check it. |
| … doesn't look like a WebDAV URL | Something answered, but not as a WebDAV server. The path is usually the problem — a WebDAV address is rarely the address you use in a web browser (Nextcloud's ends in remote.php/dav/files/<user>). |
| The WebDAV server didn't accept your username and password | The name or the password is wrong, or the service wants an app password. See App passwords. |
| You don't have permission to access … on this server | The account is accepted but is not allowed in that folder. Use a folder that belongs to you, or ask whoever runs the server. |
| The folder at this URL wasn't found | The part of the address after the host name does not exist on the server. |
| The server's certificate couldn't be verified | Rectoly will not use an HTTPS connection it cannot verify, and a self-signed certificate cannot be accepted. Install a certificate the device trusts. |
| An unencrypted connection (http) works only … | Plain http is allowed only for a server on your home or lab network. Choose https. |
| The server is limiting requests | Too many requests in a short time — some services, Jianguoyun in particular, cap them. Wait a few minutes and try again. |
| Couldn't open the file from your WebDAV server (unexpected format) | What came back was not the file that was expected. If it happens for one paper only, that file on the server is probably damaged. |
| This PDF isn't on your WebDAV server | Zotero on your computer has not uploaded it yet. Sync files there first, then sync the library here. |
| The zotero folder wasn't found on your WebDAV server | The zotero folder has been moved or removed. Press Verify Server, which offers to create it. |
| The downloaded file was damaged | The file did not match the fingerprint on the item. Rectoly throws it away instead of opening it; try again, and if it keeps happening, re-upload the file from Zotero. |
| Your WebDAV server is out of space | Free some space on the server, then add the PDF again. |
| The WebDAV server says a file that isn't there exists | The server answers wrongly for files that do not exist, which makes safe syncing impossible. Ask whoever runs the server about it. |
| No WebDAV password is saved on this device | Signing out removes it. Type it again in settings and press Verify Server. |
| This PDF is no longer on the server | It was moved or deleted while the list was open. Refresh the folder. |
| This PDF is too large to bring onto this device | Choose a smaller file, or free some space on the device. |
| Too many items. Split the folder | More entries in one folder than the browser will list. Split it into smaller folders on the server. |
The diagnostics file records what kind of failure happened, never the address, the user name or the file names. See Troubleshooting.