Skip to content

WebDAV चैनल जोड़ना

कब सबसे सही है

WebDAV channel का उपयोग तब करें जब:

  • आपके पास NAS, cloud drive या object storage service है जो WebDAV endpoint देती है।
  • आप uploaded images को अपने WebDAV directory में रखना चाहते हैं।
  • आप credentials को लंबे समय तक frontend में expose करने के बजाय D1 upload_channels table में save करना चाहते हैं।

शुरू करने से पहले क्या चाहिए

ज़रूरतउपयोग
WebDAV Endpointserver-side WebDAV URL, जैसे https://nas.example.com/dav
UsernameWebDAV service में sign in करने के लिए।
PasswordWebDAV service में sign in करने के लिए।
Authentication modedefault Basic है। Digest या auto negotiation केवल तब use करें जब server मांगे।
Storage directoryfiles store करने की directory। default imgbed

कहाँ जोड़ें

  1. System Settings खोलें।
  2. Upload Settings पर जाएँ।
  3. ऊपर दाएँ कोने में Add Channel पर क्लिक करें।
  4. WebDAV चुनें।

फ़ील्ड संदर्भ

Fieldक्या करता हैआवश्यक
Channel nameWebDAV channel का आसान नाम, जैसे koofr या nasहाँ
Endpointhttps:// सहित पूरा WebDAV endpoint।हाँ
UsernameWebDAV login username।हाँ
PasswordWebDAV login password।हाँ
Authentication modeआम तौर पर Basic; server digest authentication मांगे तो Digest use करें।हाँ
Storage directoryजहाँ files रखी जाती हैं। default imgbedनहीं

उदाहरण: fie.nl.tab.digital

1. App Password बनाएँ

अपने account security settings खोलें, application passwords खोजें, और नया app password बनाएँ।

App password बनाएँ

बनने के बाद नया app password copy और save करें। यह आम तौर पर केवल एक बार दिखता है।

नया app password save करें

2. ImgBed में WebDAV configuration भरें

ImgBed पर लौटें और WebDAV channel जोड़ें:

UI FieldValue
Endpointhttps://fie.nl.tab.digital/ द्वारा दिया गया WebDAV URL।
Usernameआपका WebDAV username।
Passwordअभी बनाया गया app password।
Authentication modeअधिकतर मामलों में Basic से शुरू करें।
Storage directorydefault imgbed; चाहें तो custom directory use करें।

Configuration भरें

बड़ी फ़ाइलों का upload behavior

WebDAV channel अब real session-based chunked upload का उपयोग करता है।

छोटी files एक complete file के रूप में upload होती हैं। 64 MiB से बड़ी files लगभग 10 MiB chunks में अपने आप split होकर remote chunk directory में upload होती हैं।

WebDAV service को partial update या offset-based writes support करने की ज़रूरत नहीं है। ImgBed remote server पर chunks को एक बड़ी file में merge नहीं करता। इसके बजाय chunk manifest store करता है और file request होने पर chunks को क्रम से पढ़ता है।

व्यवहार में:

File SizeUpload MethodRemote Storage Layout
64 MiB या कमNormal uploadएक complete file
64 MiB से अधिकReal session chunked uploadकई chunk files वाली chunk directory

chunk directory केवल remote storage layout को प्रभावित करती है। ImgBed में file URL नहीं बदलता। उपयोगकर्ता file को वही original /file/... link से access करते हैं।

Setup Steps

  1. Upload Settings खोलें।
  2. Add Channel पर क्लिक करें।
  3. WebDAV चुनें।
  4. पहचानने लायक channel name डालें, जैसे koofr
  5. WebDAV endpoint डालें, जैसे https://app.koofr.net/dav/Koofr
  6. username और password डालें।
  7. authentication mode default रूप से Basic रखें।
  8. storage directory को imgbed रखें, या अपनी directory डालें।
  9. Save पर क्लिक करें।
  10. save के बाद channel card जाँचें, उपलब्ध हो तो capacity query करें, और test file upload करें।

कैसे जाँचें

जाँचकैसे verify करें
Channel card दिखता हैsave करने के बाद Upload Settings page में WebDAV channel card दिखना चाहिए।
Channel enabled हैcard के ऊपर दाएँ switch को on रहना चाहिए।
Credentials save हैंdetail view में Endpoint, username, authentication mode और storage directory दिखने चाहिए।
छोटी file upload होती हैtest image upload करें और file WebDAV directory में दिखाई दे।
बड़ी file rule काम करता है64 MiB से बड़ी files chunked upload use करती हैं और remote chunk directory बनाती हैं।
Capacity query काम करती हैserver capacity info support करता हो तो query used और total capacity दिखाएगी।

Quota query successful

FAQ

बड़ी WebDAV files chunk directory क्यों बनाती हैं?

यह बड़ी files के लिए वर्तमान storage method है।

64 MiB से बड़ी files एक बड़ी remote file में merge नहीं होतीं। वे chunk directory के रूप में रखी जाती हैं। ImgBed chunk manifest record करता है और chunks को क्रम से पढ़कर पूरा content लौटाता है।

बड़ी file upload fail हो तो पहले क्या जाँचें?

पहले Endpoint, username, password और storage directory जाँचें। फिर confirm करें कि WebDAV service directory creation, file writing और file reading allow करती है।

अगर capacity query fail हो लेकिन छोटी file upload काम करे, तो server शायद capacity reporting support नहीं करता या restrict करता है। इसका मतलब upload unavailable होना ज़रूरी नहीं।

कौन सा authentication mode इस्तेमाल करें?

Basic से शुरू करें।

server स्पष्ट रूप से digest authentication मांगे तो Digest use करें।

अगर unsure हों, automatic negotiation use करें।

Quick Checklist

text
WebDAV endpoint, username और password तैयार करें
-> Upload Settings खोलें
-> Add Channel
-> WebDAV चुनें
-> Endpoint / username / password डालें
-> authentication mode को default Basic रखें
-> storage directory को default imgbed रखें
-> Save
-> capacity query करें
-> test file upload करें

Released as user documentation for CloudFlare ImgBed.