source/factory.js
function getFileDownloadLink(remoteFilename, options) {
            const getOptions = merge(baseOptions, options || {});
            return getFile.getFileLink(remoteFilename, getOptions);
        }
function getFileDownloadLink(remoteFilename, options) {
            const getOptions = merge(baseOptions, options || {});
            return getFile.getFileLink(remoteFilename, getOptions);
        }
function getFileDownloadLink ( remoteFilename , options ) { const getOptions = merge ( baseOptions , options || { } ) ; return getFile . getFileLink ( remoteFilename , getOptions ) ; }
Get the download link of a remote file
Only supported for Basic authentication or unauthenticated connections.
@param {String} remoteFilename The file url to fetch
@param {UserOptions=} options Options for the request
@memberof ClientInterface
@returns {String} A download URL
Get the download link of a remote file Only supported for Basic authentication or unauthenticated connections .