Nextcloud webdav windows 10

Nextcloud is fully compatible with the WebDAV protocol, and can be connected and synchronized with your Nextcloud files through WebDAV. In this chapter we will learn to connect MacOS and Windows to your Nextcloud server through WebDAV. Before we start configuring WebDAV, we will take a quick look at the recommended way to connect client devices to your Nextcloud servers in the manual How to synchronize Nextcloud Desktop and Nextcloud on Smartphones?.

NOTE: In the following examples, we will have to adjust example.com/ to the URL of our Nextcloud server (consult with our provider in case of doubt).

WebDAV configuration:

In order to avoid having to download the Nextcloud Desktop application, we can connect our computer to the Nextcloud server through WebDAV. WebDAV is an extension of hypertext transfer protocol (HTTP) that facilitates the creation, reading and editing of files on web servers. With it we can access our Nextcloud shared resources on Linux, macOS and Windows in the same way as any remote network resource, and stay synchronized.

  • WebDAV configuration in MacOS:

NOTE: The macOS browser suffers from a series of implementation problems and should only be used if the Nextcloud server runs on Apache and mod_php, or Nginx 1.3.8+.

To access the files through the macOS search engine:

1. First click on Go in the Connect to server section.

2. A window will open in which we will specify the address of our Nextcloud server.

https://example.com/nextcloud/remote.php/dav/files/USERNAME/

3. Finally click on Connect.

  • WebDAV configuration in Windows:

If you use the native Windows implementation, you can assign Nextcloud to a new unit. The assignment to a unit allows us to browse the files stored on a Nextcloud server in the same way as files stored on a mapped network drive would.

The use of this function requires network connectivity. If we want to store your files without Internet, we will use Nextcloud Desktop to synchronize all the files in your Nextcloud with one or more directories of your local hard drive.

NOTE: Before mapping your disk, you must allow the use of Basic Authentication in the Windows Registry. The procedure is documented in KB841215 and differs between Windows XP / Server 2003 and Windows Vista / 7. Follow the Knowledge Base article before proceeding and follow the instructions in Vista if you are running Windows 7.

Assignment of units with the command line:

The following example shows how to assign a unit using the command line. To map the unit:

  1. We will open a command prompt in Windows.

  2. We will enter the following line at the command prompt to assign to unit Z of the computer:

net use Z: https://server/remote.php/dav/files/USERNAME/ /user:youruser yourpassword

NOTE: In ”server” we will introduce the URL of our Nextcloud server, in youruser, our user and in yourpassword, our password.

NOTE: Although it is not recommended, you can also mount the Nextcloud server using HTTP, leaving the connection decrypted. If you plan to use HTTP connections on devices while in a public place, we recommend using a VPN tunnel to provide the necessary security.

An alternative command to do the above:

net use Z: \example.com@sslnextcloudremote.phpdav /user:youruser yourpassword

Assignment of units with Windows Explorer:

To assign a unit using Microsoft Windows Explorer:

  1. We will migrate to our computer in Windows Explorer.
  2. We will press right button in Computer Input and we will select Assign network unit… from the drop-down menu.
  3. We will choose a local network unit to which you want to assign Nextcloud.
  4. We will specify the address of your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/.
  5. We will press Finish.

For example: https://example.com/nextcloud/remote.php/dav/files/USERNAME/

NOTE: For servers protected with SSL, we will mark Reconnect at logon to ensure that the assignment is permanent at subsequent reboots. If we want to connect to the Nextcloud server as a different user, we will check Connect using different credentials.

Accessing files using Cyberduck:

Cyberduck is an open source FTP and SFTP browser, WebDAV, OpenStack Swift and the Amazon S3 browser designed for file transfers in macOS and Windows.

NOTE: This example is made with the version of Cyberduck 4.2.1

To use Cyberduck:

1. We will specify a server without main protocol information. For example: nextclouddemo.net

2. We will specify the appropriate port. Which one we choose depends on whether our Nextcloud server is SSL compatible. Cyberduck requires that we select a different connection type if we plan to use SSL. For example:

80 (for WebDAV)

443 (for WebDAV (HTTPS / SSL))

3. To finish we’ll use the More options drop-down menu to add the rest of our WebDAV URL in the Route field. For example: remote.php/dav/files/USERNAME/

Known problems:

1. Problem:

Windows does not connect using HTTPS.

  • Solution 1:

The Windows WebDAV client may not support the Server Name Indication (SNI) on encrypted connections. If we find an error when mounting an Nextcloud instance encrypted with SSL, we will contact our provider to assign a dedicated IP address for our SSL-based server.

  • Solution 2:

The Windows WebDAV Client may not be compatible with TSLv1.1 / TSLv1.2 connections. If we have restricted the configuration of our server to only provide TLSv1.1 and higher, the connection to our server may fail. We will consult the WinHTTP documentation for more information.

2. Problem:

We received the following error message: Error 0x800700DF: the file size exceeds the allowed limit and can not be saved.

  • Solution:

Windows limits the maximum size that a file transferred to or from a WebDAV share can have. You can increase the FileSizeLimitInBytes value in HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesWebClientParameters by clicking Modify.

To increase the limit to the maximum value of 4 GB, select Decimal, enter a value of 4294967295, and restart Windows or restart the WebClient service.

3. Problem:

Access to our files from Microsoft Office through WebDAV fails.

  • Solution:

The known problems and their solutions are documented in the article KB2123563.

4. Problem:

You can not assign Nextcloud as a WebDAV drive in Windows using a self-signed certificate.

  • Solution:
  1. We will go to our Nextcloud instance through your favorite web browser.
  2. Press until you reach the certificate error in the browser’s status line.
  3. We will see the certificate, and from the Details tab, we will press Copy to file.
  4. We will save it on the desktop with an arbitrary name, for example myNextcloud.pem.
  5. We will start it and execute it, MMC.
  6. Press File, Add / Remove complement.
  7. Select Certificates, clicking on Add, My user account, then Finish and then OK.
  8. We will uncover Trust Root Certification Authorities, Certificates.
  9. We will right click on the certificate, selecting All tasks, Import.
  10. We will select Save Cert from the Desktop.
  11. We will select Place all certificates in the following store and click on Browse.
  12. We will check the Show physical stores, expand the Trusted root certification Authorities and select Local computer and click on OK, completing the import.
  13. We will verify the list to make sure it is displayed. We will probably need to update before seeing it and we will leave MMC.
  14. We will open the browser, selecting Tools and deleting the browsing history.
  15. We will select everything except Private filtering data.
  16. We will go to Internet Options, Content tab, Clear SSL status.
  17. Finally we will close the browser and then we will open it again and test if the error has been fixed.

5. Problem:

We can not download more than 50 MB or load large files when the load takes more than 30 minutes using Web Client in Windows 7.

  • Solution:

The solutions are documented in the article KB2668751.

Accessing files using cURL:

Because WebDAV is an extension of HTTP, cURL can be used to create scripts for file operations.

To create a folder with the current date as name:

$ curl -u user: pass -X MKCOL “https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date ‘+% d-% b-% Y’)”

To load an error.log file in that directory:

$ curl -u user: pass -T error.log “https://example.com/nextcloud/remote.php/dav/files/USERNAME/$(date ‘+% d-% b-% Y’) / error .log”

To move a file:

$ curl -u user: pass -X MOVE –header ‘Destination: https://example.com/nextcloud/remote.php/dav/files/USERNAME/target.jpg’ https://example.com/nextcloud/ remote.php / dav / files / USERNAME / source.jpg

To obtain the properties of the files in the root folder:

Usamos cookies en nuestro sitio web para brindarle la experiencia más relevante recordando sus preferencias y visitas repetidas. Al hacer clic en «Aceptar todo», acepta el uso de TODAS las cookies. Sin embargo, puede visitar «Configuración de cookies» para proporcionar un consentimiento controlado.

Встроенный в ОС Windows webdav клиент является очень чувствительным к SSL сертификату. Поэтому первоначальным условием доступа по протоколу webdav через встроенный клиент в ОС Windows является подключенное к Nextcloud доменное имя. А также подключенный SSL сертификат , выданный каким-либо центром сертификации (не самозаверенный). Вы можете ознакомиться с нашими статьями в базе знаний (Как добавить доверенный домен в Nextcloud , Подключение бесплатного сертификата SSL от Let’s encrypt к Nextcloud).

Заходим в облачное хранилище Nextcloud , нажимаем значок “папочки” в верхней панели и затем “Settings”

Далее в появившемся меню копируем ссылку WebDav выделенную красным прямоугольником на рисунке ниже

Переходим в нашу операционную систему Windows. Нажимаем кнопку “пуск”, затем правой кнопкой мыши по значку “Мой компьютер” и нажимаем “Map network drive”

Вводим ссылку скопированную ранее в поле Folder в формате \\domain.name.next@ssl\remote.php\dav\files\username
Где domain.name.next доменное имя хранилища nextcloud, а username — имя пользователя,к хранилищу которого будем подключаться. Затем нажимаем Finish и папка отобразится как сетевой диск.

Вы уже работаете с сервисами Cloud4Y?

Перейти на вебсайт

Попробовать бесплатно

Поставил себе на сервер nextcloud , добавил домен , настроил ssl , все четко и замечательно НО , webdav не работает хоть убей и причем именно стандартными средствами win10 , пробовал и по «подключить сетевой диск» и

net use Y: https://pavelcdn.icu/remote.php/dav/files/admin/ /user:admin password

выдает ошибку Системная ошибка 67. Не найдено сетевое имя.

Если в браузере по этому адресу зайти то все норм, (имя пользователя admin не существует в целях безопасности) , с нормальными пользователями там:
«This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.»

если через сторонние программы подключатся то тоже все работает отлично , но загвоздка в том что надо именно как диск подключить чтоб не скачивать файлы, а как в проводнике править , закидывать и т.п

Кто подскажет как лечить?

Last updated on 

Nextcloud - WebDAV

WebDAV logo is quite small on the official website..

WebDAV implementation in Nextcloud allows you to mount Nextcloud folders as drives in Windows (or anywhere else with WebDAV support). This way I have a drive that points to the files that are shared with my user on Nextcloud. This guide will describe this.

Nextcloud part

First you need to know where are the accepted shares stored. This can be found and/or set up in Settings — Personal — Sharing. In the very bottom you will find a setting for a folder that holds all the accepted shares. I have it set to «/Shared with me».

While you are in the settings, generate your application password. That can be done in Settings — Personal — Security at the very bottom. This password will then be used to access the WebDAV share.

Then you go to Files app and in Files settings — WebDAV you will get your WebDAV address for your user root folder. This address can be adapted to point to any other folder deeper in the structure. In my case I changed it to https://cloud.example.md/remote.php/dav/files/vitis/Shared with me.

Windows part

Now you can go to Windows and directly mount the WebDAV share as a network drive. Everything will work and you will be happy. That is until you reboot or relogin to your Windows account. Then you will realize, that you have to log in to map your share every single time. It has something to do with Basic Authentication that is used.

Webdav and Windows — no automatic share-mapping after reboot/logoff in spite of successfully stored credentials

Hi, using webdav in order to map my NC-shares to deviceletters in the Windows explorer generally works for me. But there is still a problem which is a little bit strange: If I save the share-credentials by windows using the “remember my credentials”-option, they are actually successfully stored in…

Pasteo

Unraid part

I sorted this problem out with a help from Unraid. I used rclone as an intermediate layer. So the WebDAV share is mounted in rclone and then shared out as an SMB share on the network.

I suggest you install rclone as a plugin to Unraid. There is also a docker container available but I did not had luck with that. I think it might be because rclone needs a lot of special privileges to run properly and I could not find the right combination of those but YMMV.

Now you have to create your rclone remote config. Each remote has to be configure separately. More on the WebDAV config can be found in rclone’s documentation.

WebDAV

Rclone docs for WebDAV

Nick Craig-Wood

Your config can be then found in Settings — rclone. This config can vary if you use a different type of remote.

[Nextcloud-vitis-shared]
type = webdav
pass = C^VsH4$zJoUC#ahW!UfVYJPWp
url = https://cloud.example.md/remote.php/dav/files/vitis/Shared with me
user = vitis
vendor = Nextcloud

My remote config of Nextcloud WebDAV share

After setting up the remote you can mount it through the CLI. This will mount the remote to the specified folder using with the specified user and group. All the specified options are well explained in the documentation.

#!/bin/bash
mkdir -p /mnt/disks/vitis
rclone mount Nextcloud-vitis-shared: /mnt/disks/vitis --vfs-cache-mode full --daemon --gid 100 --uid 1000 --allow-other --allow-non-empty

Command to mount the WebDAV share

Now the folder /mnt/disks/vitis points to our Nextcloud. Now we need to expose this as an SMB share. Unraid can do this without any other extra tools. Just head to Settings — SMB — SMB Extras and put in a config for a the share that can look something like this.

[vitis-shared]
path = /mnt/disks/vitis
comment =
browseable = yes
public = no
writeable = yes
valid users = vitis
vfs objects =

SMB Extras config

The config again sets the permissions to just single user and sets is as non public share. This gives access just to my user and denies access to any guests. Some more details can be found in Samba documentation.

smb.conf

Samba extra configuration

Hi followed Spaceinvader One online video for “How to use rclone in unRAID Copy sync and encrypt files to the cloud. Even stream media”. It works fantastically well. I’m having an issue mounting it to be accessible on the local network via SMB. I used this script: [secure-cloud] path = /mnt/disks…

Unraidblahblah0385

Windows part — part 2

Now you should be able to see the share in your network. You can assign map it as a network drive and see all the files that are shared with you. This is a small finale, but we still need to do a bit more to make everything persistent.

Unraid part — part 2

Use User scripts plugin to run the mount command above on every array start up. You will also need a unmount script that will run on every array spin down.

#!/bin/bash
umount /mnt/disks/vitis

Command to unmount the WebDAV share

Now everything will mount and unmount whenever you restart your server. If you will add more users do not forget to update all three places — mount script, unmount script and SMB Extras.

pfSense part

Now if your domain is behind a Cloudflare proxy, like mine, you will be accessing the WebDAV over the internet thus utilizing your down/up link. This is something that your do not want to do. Unless you are on a 1000/1000 connection and then you probably don’t care. 😄

In DNS Resolver settings in Host Overrides section I set cloud.example.md to return my WAN IP. Now this works only if your Cloudflare SSL/TLS encryption mode is Full and not Full (Strict).

Services — DNS Resolver — Host Overrides | pfSense Documentation

pfSense Documentation

If I remember correctly you also would like to turn Enable automatic outbound NAT for Reflection in System — Advanced — Firewall & NAT. This enables NAT Reflection (aka Hairpin NAT). This should make your packets not even leave the LAN interface. On the same page NAT Reflection mode for port forwards has to be set to Pure NAT.

Network Address Translation — NAT Reflection | pfSense Documentation

pfSense Documentation

Now this might differ if you don’t use pfSense router, but the terms above should at least point you the correct way.

Possible troubleshooting steps

03/2024: I was adding a user to this and I completely skipped few parts. 😄 First of all, I did not went through the proper remote setup. I just copied my settings and updated them with new credentials. This did not work, because the config has the password saved in base64. I fixed this with updating the password through rclone.

rclone config password

Update password in an existing remote.

Nick Craig-Wood

Other mistake was that the folder in /mnt/disks/ created by the mount script had root as an owner. Always check permissions and ownership.

A Person Holding a Folder of a Top Secret Files Label

Credit: pexels.com, A Person Holding a Folder of a Top Secret Files Label

Nextcloud offers WebDAV access, allowing you to access your files from various devices and applications.

To access your Nextcloud files using Cyberduck, a free, open-source file transfer client, you’ll need to configure it with the WebDAV server details.

You can find the WebDAV server details in the Nextcloud settings, under the «Administration» section, including the server address and credentials.

Nextcloud also supports WebDAV access through Windows Explorer, allowing you to access your files directly from the Windows file system.

To connect to Nextcloud, you’ll need to select the Nextcloud connection profile and choose the bundled protocol. This is the default setting for most users.

You can also use the ownCloud connection profile, but you’ll need to set up a custom profile to connect. This involves registering your client with the identity provider in ownCloud via Keycloak and importing the client configuration.

To test without a custom deployment, use the public instance at ocis.ocis-keycloak.latest.owncloud.works with the identity provider at keycloak.ocis-keycloak.latest.owncloud.works. You can also connect using WebDAV (HTTPS) with the default path set to /remote.php/webdav/.

Credit: youtube.com, Connecting to your Nextcloud Server Through Dynamic DNS!

To obtain the server address for your Nextcloud connection, connect to your server in your web browser and navigate to the Settings in the lower left corner.

You’ll find the WebDAV address there, which you can copy and paste into the Server field.

Make sure to set the actual username in the Username field instead of your email address.

To connect to your Nextcloud storage server using Cyberduck, you’ll need to enter your server details, including the server URL, username, and password. You should have received this information via email when you set up your storage space.

The default port is 443, which is the SSL port. Click on «Connect» to establish the connection.

If the connection is successful, you should be able to view your files and folders. This indicates that you’ve set up the connection correctly.

To access your files using Cyberduck, you can specify a server without main protocol information, such as «nextclouddemo.net». The port you choose depends on whether your Nextcloud server is SSL compatible.

Credit: youtube.com, Server Savant EP2: Self-Host Your Cloud Storage for Pennies (NextCloud Tutorial)

For WebDAV, you can use port 80, while for WebDAV (HTTPS/SSL), you should use port 443. This is a crucial step in setting up the connection.

To finish setting up the connection, use the «More options» drop-down menu to add the rest of your WebDAV URL in the «Route» field. This typically involves adding «/remote.php/dav/files/USERNAME/» to the end of your server URL.

File Management with Nextcloud WebDAV is a breeze. You can access your files from anywhere, thanks to Nextcloud’s WebDAV support.

With WebDAV enabled, you can upload files to your Nextcloud server using any WebDAV client, such as a desktop application or a mobile app. This means you can access your files from your laptop, smartphone, or tablet.

Nextcloud WebDAV also allows you to create and edit files directly on the server, using any WebDAV-enabled application. This is especially useful for collaborative work or when you need to access your files from multiple devices.

Credit: youtube.com, This Simple File Management System Changed My Life!

File sharing is a breeze with this tool. You can create different shares using the context menu, and adding a passphrase creates a password-protected share.

To create an upload share for a folder, go to File → Request files…, and to create a download share, go to File → Share…. You can choose between a public link by selecting Everyone or a private link for another user by choosing a specific email address.

A public share is created instantly, while a private share requires the recipient’s email address. The user will be notified about the shared file by email.

To create a public share, simply select Everyone and click on the share button. No extra steps are required.

Resumable Uploads allow you to pick up where you left off in case of an interrupted upload. This feature is especially useful when dealing with large files or unstable internet connections.

ownCloud Infinite Scale supports resumable uploads, so you can confidently upload files without worrying about losing your progress.

Credit: youtube.com, How to Change Last Modified Date, Creation Date, Accessed Date of any File and Folders on Your PC

The modification date is a crucial aspect of file management.

For new files uploaded, the modification date retention is supported using X-OC-Mtime.

Unfortunately, once a file is uploaded, there’s no option to adjust the modification date later.

You can store your Keepass file in a secure location by using WebDAV to sync it across all your devices.

If you’re not comfortable relying on a third-party hosting provider, you can host it on your own or use a local provider like NextCloud.

To find a local provider for a free NextCloud service, check out https://nextcloud.com/signup/.

NextCloud uses WebDAV to communicate with your instance, which adds simple file management operations on top of HTTP.

To find the endpoint used in your NextCloud account, log in to your NextCloud web UI and click “Settings” in the bottom left corner.

You can now select to store your passwords into NextCloud by choosing “WebDAV” in AuthPass.

Credit: youtube.com, How to store and manage all your passwords easily — using keepass | VIDEO TUTORIAL

To configure your WebDAV storage, enter the WebDAV URL and username and password, which you can find by following the instructions in the NextCloud UI.

After successfully logging in, choose a new location for your kdbx file, and AuthPass will copy your password database into the specified location and reopen it.

Assigning units with Windows Explorer is a straightforward process that allows you to map a network drive to your Nextcloud instance. To get started, navigate to your computer in Windows Explorer.

Right-click on «Computer» and select «Map network drive…» from the drop-down menu. Choose a local network drive to which you want to assign Nextcloud.

Specify the address of your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/. For example: https://example.com/nextcloud/remote.php/dav/files/USERNAME/.

Press «Finish» to complete the mapping process. If you want to connect to the Nextcloud server as a different user, check «Connect using different credentials».

Note: For servers protected with SSL, mark «Reconnect at logon» to ensure the assignment is permanent at subsequent reboots.

Credit: youtube.com, File & Folder Permissions using Cyberduck

You can access your files using Cyberduck, an open source FTP and SFTP browser. Cyberduck is designed for file transfers in macOS and Windows.

To start, specify the server without main protocol information, such as nextclouddemo.net. Next, choose the appropriate port, which depends on whether your Nextcloud server is SSL compatible. For example, use 80 for WebDAV or 443 for WebDAV (HTTPS/SSL).

We’ll need to add the rest of our WebDAV URL in the Route field using the More options drop-down menu. For example, remote.php/dav/files/USERNAME/.

Here are the port options for different connection types:

If the connection is successful, you should be able to view your files and folders.

Does anyone use WebDAV?

Yes, WebDAV is still in use today, particularly for secure internet file sharing. Its niche remains a valuable alternative to other file sharing protocols.

How do I access Nextcloud from Finder?

To access Nextcloud from Finder, navigate to Go > Connect to Server and paste your WebDAV address. This will allow you to connect to your Nextcloud files directly from your Mac.

What protocol does Nextcloud use?

Nextcloud supports various protocols, including NFS, (S)FTP, WebDAV, and more, for accessing files. It also integrates with popular cloud services like Amazon, Google, and Dropbox.

  1. https://docs.cyberduck.io/protocols/webdav/nextcloud/
  2. https://www.btactic.com/how-to-access-nextcloud-files-using-webdav/
  3. https://help.lws-hosting.com/en/How-to-use-NextCloud-in-WebDav-mode-on-Cyberduck
  4. https://authpass.app/docs/store-keepass-passwords-nextcloud-webdav/
  5. https://forum.netgate.com/topic/175199/haproxy-nextcloud-webdav-url-discovery

Walter Brekke is a seasoned writer with a passion for creating informative and engaging content. With a strong background in technology, Walter has established himself as a go-to expert in the field of cloud storage and collaboration. His articles have been widely read and respected, providing valuable insights and solutions to readers.

View Walter’s Profile

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 8 build 7814
  • Windows предлагает извлечь системный диск
  • Windows espc package что это
  • Canon f158200 драйвер windows 10 x64
  • How to install kvm on windows