legacy-knowledge-base
公開されました Sep. 10, 2025

How to Connect Documents and Media to a Local File System Using a WebDAV URL

written-by

Kartik Singh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • Steps to connect the WebDAV URL with your local machine's file system.

Environment

  • DXP 7.4 and above
  • DXP 2023.Q4.0 and above

Resolution

  • For Fedora and Linux Machines (Before 2023.Q4.0):
    1. Navigate to Documents and Media.
    2. Click the ⋮ (Options) icon in the top-right corner > select Access from Desktop.
    3. Copy the displayed WebDAV URL and replace http with dav.
      Example:
      http://localhost:8080/webdav/guest/document_librarydav://localhost:8080/webdav/guest/document_library
    4. Open your desktop file system and paste the modified URL into the file path or search bar. (For Linux: Navigate to File> Other Location> where "Connect to Server" is available, paste the URL here.)
    5. Press Enter/Connect, a login prompt will appear. Enter your portal login credentials:

Now manage all files and folders in Documents and Media directly from your desktop file system.

  • For Windows Machines
    1. Navigate to Documents and Media.
    2. Click the ⋮ (Options) icon > select Access from Desktop.
    3. Copy the displayed WebDAV URL.
      Example: http://localhost:8080/webdav/guest/document_library
    4. Open File Explorer > select Map Network Drive.
    5. Paste the copied URL into the Folder field and click Finish.
    6. When prompted, enter your portal login credentials:

Now have access to the Document and Media Library via your Windows file system.

  • For DXP 2023.Q4.0 and Above (All Platforms)
    1. Go to Documents and Media.
    2. Click the ⋮ (Options) icon > select Access from Desktop.
    3. Copy the WebDAV URL and replace http with dav.
      Example:
      http://localhost:8080/webdav/guest/document_librarydav://localhost:8080/webdav/guest/document_library
    4. Paste the modified URL into your file system's path bar and press Enter.
    5. When prompted for credentials, follow these steps to generate WebDAV-specific credentials in Liferay:
      • Navigate to Control Panel > Users and Organizations.
      • Select the currently logged-in user > click Edit.
      • Go to the Password section.
      • Click Generate WebDAV Password.
      • Use the generated Username and Password for login.

Now manage Documents and Media content directly from your desktop environment.

Additional Information

  • Accessing Documents with WebDAV
  • Depending on your OS:
    • Windows: Map a network drive to the WebDAV URL. When prompted, enter your portal credentials. The Document Library folder will appear as a network drive.

    • macOS: Open Finder > Go > Connect to Server > Paste the WebDAV URL > Click Connect and enter your credentials.

    • Linux:

      • KDE Dolphin: Use webdav:// instead of http:// in the URL.

      • GNOME Files: Use dav:// instead of http://.

did-this-article-resolve-your-issue

legacy-knowledge-base