Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Downloading Files

Downloading Files

Once a file is uploaded, a download link is created for it. By default, anyone who knows the link can download the file (the anonymous role's permissions for reading files is set to Allowed). If you want to limit the access you need to uncheck the permissions for the anonymous role. After you do this, accessing the file needs an authorization header. If the user account corresponding to the access token provided in the headers has permissions for reading files, the user will be able to download file.

public void GetDownloadLink(EverliveApp app, Guid fileId)
{
    app.WorkWith().Files().GetFileDownloadUrl(fileId);
}
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.