मैं आधारित का उपयोग कर रहा एकीकृत दस्तावेज़ सर्वर 4.4.3 ubuntu के आधार पर एक दस्तावेज़ को डाउनलोड करने के लिए फार्म, bellow कोड मेरी उपयुक्तता के लिए अनुकूलित है, मैं कैसे कुंजी के आधार पर एक यूआरएल फार्म कर सकते हैंकस्टम फ़ंक्शन एक यूआरएल कुंजी
asc_docs_api.prototype.asc_customCallback = function(typeFile, bIsDownloadEvent)
{
var actionType = c_oAscAsyncAction.DownloadAs;
var options = {downloadType : DownloadType.Download };
this._downloadAs("save", typeFile, actionType, options, function(incomeObject){
if (null != incomeObject && "save" == incomeObject["type"]) {
//incomeObject["data"] will return key of the document instead of key, i need full url of the document with md5 and expires like below
//ex: http://cache/files/.....
});
};
अग्रिम में धन्यवाद
एमडी 5 का उपयोग क्या है और यूआरएल में समाप्त हो जाता है? डाउनलोड यूआरएल सीधे अन्य नाम –
हम md5 का उपयोग जानवर बल से कैश में फ़ाइलों की रक्षा करने के लिए साथ nginx में मैप किया गया है। इस प्रयोजन के लिए, हम का उपयोग करें [nginx secure_link] (http://nginx.org/en/docs/http/ngx_http_secure_link_module.html) कृपया ध्यान दें कि md5 साथ यूआरएल और समाप्त हो रहा है सर्वर साइड पर बनाया जाना चाहिए। प्रतिक्रिया के लिए धन्यवाद – ibnpetr
@ibnpetr –