In Seafile there are a few ways to share files and folders with others:
- Using links: there are multiple types of links that can be used to share with various scope of collaborators.
- Share links: Any user who has access to the links can access the files or folders pointed by the link. No login is required.
- Upload links: Any user who has access to the links can upload files to the folder pointed by the link. No login is required.
- Internal links: Only logged in users who have share permissions to file or folder can access this link. Used for internal file sharing.
- Sharing libraries or folders: used for setting access permissions to a library or folder for specific users or groups. Users have to log in to access the folders.
Creating Share Links to Files or Folders¶
Share links are public links to files or folders. They can be accessed by anyone, including those who don't have a Seafile account. You can also use password and expiration time to protect your links.
You can also set access permission to share links. There are three types of permissions:
- Preview and Download: the file or files in the folder can be downloaded. If the type of files can be previewd in web browser, they can also be viewed online (e.g. Office files).
- Preview only: the file or files in the folder can only be viewed in web browser, but cannot be downloaded. This is useful for sharing confidential data. For Office files, water mark can also be added to file preview. The water mark includes the link owner's name.
- Edit on cloud and download: Similar to "Preview and Download", but if the file type can be edited in web browser (e.g. Office files), any user who has access to the link is allowed to edit it.
To create a share link in Seafile web app:
- Navigate into the parent folder containing the file or folder. Hover your mouse over the file or folder and click on the "Share" icon that appears.
- A pop-up window will appear with all the share options. Click the "Share Link" tab on the left panel. Then click "Generate" button to create a link. You can use password, expiration time and permission to protect your link.
- Copy the link to email, instant messaging client or any other tool to send it to others.
You can also create download links from the desktop clients.
- If the library is synced, double click the library in the main Window of Seafile client. The local folder of that library will be opened. Right click on the file or folder that you want to create a link to. In the pop-up menu, choose "Seafile" then "Create share link".
- If the library is not synced, double click the library in the main Window of Seafile client. The cloud file browser window will be opened. You can create a link to file or folder in the cloud file browser.
Creating Upload Links to Folders¶
You can use upload links to collect files from others. You can only create upload link for a folder. Others cannot see the files in the folder. They can only upload files to the link.
To create an upload link in Seafile web app:
- Navigate into the parent folder containing the folder. Hover your mouse over the folder and click on the "Share" icon that appears.
- A pop-up window will appear with all the share options. Click the "Upload Link" tab on the left panel. Then click "Generate" button to create a link. You can use password to protect your link.
- Copy the link to email, instant messaging client or any other tool to send it to others.
Sharing Libraries or Folders¶
You can share a library or folder to other registered Seafile users. The shared library or folder can be accessed by others with the web app and Seafile clients.
You can choose the member range of the share:
- Share to user: You can share to one or more users, one by one.
- Share to group: You can share to a group of users. See how to manage groups in group sharing.
- Share to organization: If you're using a private server, sometimes it's useful to share to all members on the server (the entire organization).
You can also set permission on the share:
- Read-Write share: the share members can do any update operations on the folder, including update file, upload file, delete, rename.
- Read-only share: the share members can only read the folder and files in it. They cannot do any update to the folder and files.
- Admin: the share members can re-share the library to other users. This permission can only be set when sharing a library, but not a folder.
- Online Read-Write: users can view and edit the file online via web browser. File cannot be downloaded. (New in 7.0)
- Online Read-only: users can view the file online via web browser. File cannot be downloaded. (New in 7.0)
To share a library or folder to a user or group:
- Hover your mouse over the library or folder and click on the "Share" icon that appears.
- A pop-up window will appear with all the share options. Click the "Share to user" or "Share to group" tab on the left panel. Enter the user name or group name to share to. Then click "Submit".
After you share a folder or library to a user, the user can see it by clicking the "Shared" tab on the left panel in Seafile web app. If you share to a group, the group members can only see the shared folder or library by navigating into the group.
To share a library to the entire organization: In Seafile web app, click the "Organization" tab on the left panel. Click "Add Library" button. In the drop-down menu, you may choose sharing an existing library or creating a new library and share it.
Internal Links¶
Only logged in users who have share permissions to file or folder can access this link. It is used for internal file sharing. It's a convenient way for passing files among team members who has asscess to a common library. You may just copy the link and paste it into an email or IM software.