Seafile CE 6.0.5: Does the 'Download Link' button work?

What does the ‘Download Link’ button do when a file is shared?

I can share a file, generate links, send emails based on the share and use both the Link and the Direct Download Link but the button ‘Download Link’ does nothing. This is in a Public read-only folder.

When I mouse over the button I see the URL but nothing happens when I click.

Anybody have any hints or info on this one?

Thank you for your help.

Seafile CE 6.0.5, Ubuntu 16.04.1 LTS
Firefox 49.0.2, Chromium 54.0.2840.87

click the share icon alongside with a folder, you will see a popup with ‘Download Link’ and ‘Upload Link’ and other tabs which are used for navigate between different share features.

I see. In the case of a folder (not a file) the options include ‘Download Link’, ‘Upload Link’, ‘Share to User’, and ‘Share to Group’. In the case of a file the options include only ‘Download Link’, the point being that the ‘buttons’ are more like tabs, each selecting a feature.

In the case of a file, the info being displayed are the download links only. Is sharing a file to a user and/or group not permitted?

Thanks for the hint. It was very helpful. I guess I didn’t understand the interface.

I am experiencing similar issue but not for all files. Basically, in a folder view you select a couple of files. In the toolbar for the view, the actions change from Upload, New Folder, New File and Share to Icons of move, copy, delete and download. Clicking download winds up throwing a 500 error according to developer tools. In the apache log you see:

[10/Nov/2016:16:48:20 +1300] “GET /api/v2.1/repos/885cd252-6509-47c8-8282-57cf8ef4009c/dirents/download-link/?parent_dir=%2FDemo%20sites& HTTP/1.1” 500 368 “https://server-seafile/” “Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0”:q!

and in the seahub_django_request.log you get a

2016-11-10 11:48:20,818 [ERROR] django.request:256 handle_uncaught_exception Internal Server Error: /api/v2.1/repos/885cd252-6509-47c8-8282-57cf8ef4009c/dirents/download-link/
Traceback (most recent call last):
File “/data/seafile/seafile-server-5.1.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/core/handlers/”, line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/data/seafile/seafile-server-5.1.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/decorators/”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/data/seafile/seafile-server-5.1.4/seahub/thirdpart/Django-1.8.10-py2.7.egg/django/views/generic/”, line 71, in view
return self.dispatch(request, *args, **kwargs)
File “/data/seafile/seafile-server-5.1.4/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/”, line 466, in dispatch
response = self.handle_exception(exc)
File “/data/seafile/seafile-server-5.1.4/seahub/thirdpart/djangorestframework-3.3.2-py2.7.egg/rest_framework/”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/data/seafile/seafile-server-5.1.4/seahub/seahub/api2/endpoints/”, line 74, in get
current_dirent = seafile_api.get_dirent_by_path(repo_id, full_dirent_path)
File “/data/seafile/seafile-server-5.1.4/seafile/lib64/python2.6/site-packages/seaserv/”, line 168, in get_dirent_by_path
return seafserv_threaded_rpc.get_dirent_by_path(repo_id, path)
File “/data/seafile/seafile-server-5.1.4/seafile/lib64/python2.6/site-packages/pysearpc/”, line 112, in newfunc
return fret(ret_str)
File “/data/seafile/seafile-server-5.1.4/seafile/lib64/python2.6/site-packages/pysearpc/”, line 65, in _fret_obj
raise SearpcError(dicts[‘err_msg’])
SearpcError: directory is missing

The files can download using the desktop client cloud file browser. You can also download the files individually using the download icon on the file line. Using the download button from the tool bar does not work.

Seafile server 5.1.4
Ubuntu 14.04
Apache 2.4.23-5
memcached 1.4.14

No, you can’t share a file to user/group, it’s only available for library/folder sharing.

As we have improvd the behavior of multi file/folder downloading in the version of v6.0.0, so can you upgrade your Seafile to the latest verison, then test the issue again ?

Hi Lian,
No I cannot. There is an issue with Seafile 6.0.x support for PostgreSQL. Please see github issue 1778 and another thread in this forum.