{"id":20816174,"url":"https://github.com/ithit/webdavajax","last_synced_at":"2025-06-21T03:40:53.561Z","repository":{"id":58243051,"uuid":"102489545","full_name":"ITHit/WebDAVAjax","owner":"ITHit","description":"WebDAV AJAX Library for opening docs from a web page and saving back directly to server in a SharePoint-like manner.","archived":false,"fork":false,"pushed_at":"2025-05-27T16:05:50.000Z","size":3282170,"stargazers_count":19,"open_issues_count":3,"forks_count":9,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-20T03:45:03.182Z","etag":null,"topics":["ajax","ithit","webdav"],"latest_commit_sha":null,"homepage":"https://www.webdavsystem.com/ajax/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ITHit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-05T14:11:20.000Z","updated_at":"2025-05-27T16:05:54.000Z","dependencies_parsed_at":"2023-02-12T10:00:52.246Z","dependency_job_id":"ec83f9b7-437b-4bc7-8831-302f668b47d6","html_url":"https://github.com/ITHit/WebDAVAjax","commit_stats":{"total_commits":139,"total_committers":2,"mean_commits":69.5,"dds":"0.014388489208633115","last_synced_commit":"d457df761a4006006bb9cae31146db9fcce9fc53"},"previous_names":[],"tags_count":89,"template":false,"template_full_name":null,"purl":"pkg:github/ITHit/WebDAVAjax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ITHit%2FWebDAVAjax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ITHit%2FWebDAVAjax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ITHit%2FWebDAVAjax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ITHit%2FWebDAVAjax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ITHit","download_url":"https://codeload.github.com/ITHit/WebDAVAjax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ITHit%2FWebDAVAjax/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261059114,"owners_count":23103949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajax","ithit","webdav"],"created_at":"2024-11-17T21:28:55.168Z","updated_at":"2025-06-21T03:40:48.548Z","avatar_url":"https://github.com/ITHit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IT Hit WebDAV AJAX Library\n\n[Product Website](https://www.webdavsystem.com/ajax/) |\n[Demo Server](https://www.webdavserver.com/)\n\n\n## Cross-browser JavaScript library for opening documents from a web page and managing WebDAV servers.\n\n\n### API for Opening Docs from a Web Page\n\nUsing WebDAV Ajax Library you can open documents from a web page and save back directly to server without download/upload steps. The library opens any document with associated application in Chrome, FireFox, Safari, Edge and IE on Windows, Mac OS X and Linux.\n\n```html\n\u003cscript src=\"ITHitWebDAVClient.js\"\u003e\u003c/script\u003e\n\n\u003cscript type=\"text/javascript\"\u003e\n   \n    // Get your license ID here: https://www.webdavsystem.com/ajax/download/\n    ITHit.WebDAV.Client.LicenseId = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX';\n\n    function edit() {\n        ITHit.WebDAV.Client.DocManager.EditDocument(\n\t\t    \"https://server/folder/file.docx\", \"/\");\n    }\n\u003c/script\u003e\n\n\u003cinput type=\"button\" value=\"Edit Document\" onclick=\"edit()\" /\u003e\n```\n[more...](https://www.webdavsystem.com/ajax/programming/open-doc-webpage/opening_ms_office_docs/)\n\n### Opening Document from a Website with Cookies Authentication \n\nThe library can open documents from a WebDAV server with cookies authentication: \n\n```javascript\nfunction edit() {\n    ITHit.WebDAV.Client.DocManager.DavProtocolEditDocument(\n        'https://server/folder/file.ext', // Document URL(s)\n        'https://server/',                // Mount URL\n        protocolInstallMessage,           // Function to call if protocol app is not installed\n        null,                             // Reserved\n        'Current',                        // Which browser to copy cookies from: 'Current', 'All', 'None'\n        '.AspNet.ApplicationCookie',      // Cookie(s) to copy. Must be persistent.\n        '/Account/Login',                 // URL to navigate to if any cookie from the list is not found.\n        'Edit'                            // Command to execute: 'Edit', 'OpenWith', 'Print'\n    );\n}\n     \nfunction protocolInstallMessage(message) {\n    var installerFilePath = \"/Plugins/\" + ITHit.WebDAV.Client.DocManager.GetInstallFileName();\n \n    if (confirm(\"Opening this type of file requires a protocol installation. Select OK to download the protocol installer.\")){\n        window.open(installerFilePath);\n    }\n}\n```\n[more...](https://www.webdavsystem.com/ajax/programming/open-doc-webpage/cookies-authentication/)\n\n### Using Ajax API for Managing WebDAV Server\n\nThe library provides a high-level JavaScript API for managing WebDAV server content and building Ajax file managers.\n\nSee how to list files on a WebDAV server, copy, move and delete items, read and set custom properties, lock items and discover locks.\n\n[more...](https://www.webdavsystem.com/ajax/programming/managing_hierarchy/)\n\n\n### Programming WebDAV Search Capabilities\nThis article describes how to detect DASL search support, submit search queries, specify which properties to search and request custom properties to be returned in search results, such as snippet of text around search phrase.\n\n[more...](https://www.webdavsystem.com/ajax/programming/search/)\n\n### Re-branding and Building from Source Codes\n\nThe Source Codes License is provided with complete Protocol Applications source codes. You can fully re-brand, localize and customize the protocol applications for Windows, OS X and Linux. The source codes are provided with build scripts that you can use to compile and build installers for each OS \"in one click\".\n\n[more...](https://www.webdavsystem.com/ajax/programming/open-doc-webpage/rebranding-building/)\n\n### Opening OS File Manager from a Web Page\n\nSee how to jump from a web page to managing files using familiar desktop interface.\n\nThe custom protocol provided with Ajax Library can mount WebDAV server to local file system and start OS File Manager  on Windows, Mac OS X and Linux.\n\n[more...](https://www.webdavsystem.com/ajax/programming/open-doc-webpage/opening_os_file_manager/)\n\n### Managing Locks on Your WebDAV Server\n\nLocks protect the document while being edited from concurrent modifications. Locks support on your WebDAV server is vital for Microsoft Office editing.\n\nWhile in most cases your WebDAV client, including Microsoft Office, will manage locks automatically you may need to discover locks support, enumerate locks and unlock a file if needed.\n\n[more...](https://www.webdavsystem.com/ajax/programming/locking/)\n\n### License \n\n[License Agreement](https://www.webdavsystem.com/media/1175/it-hit-webdav-ajax-library-license-agreement.rtf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fithit%2Fwebdavajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fithit%2Fwebdavajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fithit%2Fwebdavajax/lists"}