Seafile
FolderSync can sync files with Seafile, both the hosted Seafile service and your own Seafile server. Add an account of type Seafile.
Experimental
Seafile support is new and marked as experimental. Please report any issues to us.
How to login
- Enter the server address. New accounts are prefilled with
https://plus.seafile.com, the hosted Seafile service. If you use your own server, replace it with your server's address. - Enter the email address or username and the password you use to log in to the Seafile web interface.
- If two-factor authentication is enabled for your Seafile account, enter the current code from your authenticator app in the 2FA code field.
- Tap Authenticate account.
After the login succeeds, FolderSync stores an access token for your account and uses that from then on. The 2FA code is only needed when you authenticate, not for every sync. To log in again, for example with a different user, tap Unlink account and authenticate again.
Accounts created with single sign-on
If you created your Seafile account by logging in with an external account (for example WeChat, Google or your company's single sign-on), the account has no Seafile password and the login will fail. Set a password for your account in the Seafile web interface first, if your server allows it.
Login fails with "Invalid username or password"
- Check the server address.
plus.seafile.comandcloud.seafile.comare two separate hosted Seafile services with their own user accounts. Use the address where you log in to the Seafile web interface.plus.seafile.comis the service the seafile.com website links to. - Check the username. Seafile treats the username as case-sensitive, so make sure your keyboard hasn't added a capital first letter.
- Two-factor authentication. If FolderSync says a two-factor code is required or invalid, enter a fresh code from your authenticator app and try again quickly, as the codes only last a short time.
What should I enter as server address?
Enter your server's hostname or a full URL. Set the port in the port field (443 for https). Examples:
| Server address | Port | Connects to (Desktop) |
|---|---|---|
https://plus.seafile.com |
443 | https://plus.seafile.com |
seafile.example.com |
443 | https://seafile.example.com |
https://example.com/seafile |
443 | https://example.com/seafile |
192.168.1.10 |
8000 | https://192.168.1.10:8000 |
http://nas.local:8000 |
443 | http://nas.local:8000 |
- http or https: if the address starts with
http://orhttps://, that decides whether an encrypted connection is used. Without it, FolderSync uses https. Note, only https is allowed on Android. - Port: the port field is used unless the address itself contains a port.
- Sub-path: if your Seafile server is served under a path, include it in the address, for example
https://example.com/seafile.
If your server uses a self-signed certificate, turn on Allow self-signed certificates, or select your own CA certificate under the advanced settings on the account screen.
Why can't the Android app connect to my server over http?
FolderSync on Android doesn't allow unencrypted (http) connections, so the Android app always connects with https, even if you enter http://. Put your Seafile server behind a reverse proxy with a TLS certificate. FolderSync Desktop can connect over plain http.
Uploads or downloads fail on my own server, but browsing works
Seafile uploads and downloads files through a separate file server, at addresses your Seafile server hands out. If the server's SERVICE_URL and FILE_SERVER_ROOT settings point to an internal address (for example http://127.0.0.1:8082), FolderSync can't reach it, even though browsing folders works. Set them to the public address of your server, the same one you use in the web interface.
How are libraries and folders mapped?
- The root folder shows your Seafile libraries as folders. That includes your own libraries and libraries shared with you directly, through a group or publicly.
- Inside a library you see its folders and files as usual.
You can choose a library or any folder inside it as the remote folder for a folder pair. Files can't be stored directly in the root, and FolderSync can't create, rename or delete libraries. Create the library in Seafile first.
Read-only libraries and folders (shared with you with read-only permission) can be synced from, but uploads and deletes there will fail.
Why aren't my encrypted libraries shown?
Encrypted libraries need the library password before any file can be read, and FolderSync doesn't support that yet. They are hidden from the list. To sync those files, move them to a library that isn't encrypted.
What happens when files are deleted?
Deleted files and folders go to the library's trash in Seafile, where you can restore them until the trash is emptied (depending on the library's history settings).
How are files compared?
FolderSync uses file size and modification date. The modification date of the original file is kept when it is uploaded, so unchanged files aren't transferred again. Seafile stores modification dates with one-second precision. Seafile doesn't provide MD5 or SHA1 checksums, so checksum comparison isn't available.
What account information is shown?
After you authenticate, the account screen shows your Seafile name and email. If your account has a storage quota, it also shows the quota and how much of it is used.