# WebDAV for Unity Asset

- Link: https://saguiitay.com/unity/unity3d-webdav-for-unity/
- Published: 2018-06-25T19:38:34+03:00
- Author: Itay

## Overview

WebDAV for Unity is a full WebDAV client for Unity, with support for many operations,
and various WebDAV services.

### Features

 * Supported operations:
    - List
    - Get file/folder details
    - Download files
    - Upload files
    - Move file/folder
    - Delete file/folder
 * Supported services:
    - Yandex
    - 4share
    - DriveHQ
    - Jungle Disk
    - HiDrive
    - many more…

**[Purchase WebDAV for Unity from the Unity Assets Store here >>](https://assetstore.unity.com/packages/slug/119917?aid=1101lS3S)**

## Screenshots

![WebDAV for Unity Screenshot 1](https://i0.wp.com/www.saguiitay.com/wp-content/
uploads/Screenshot1-20.png?ssl=1 "WebDAV for Unity Asset 1")

![WebDAV for Unity Screenshot 2](https://i0.wp.com/www.saguiitay.com/wp-content/
uploads/Screenshot2-20.png?ssl=1 "WebDAV for Unity Asset 2")

![WebDAV for Unity Screenshot 3](https://i0.wp.com/www.saguiitay.com/wp-content/
uploads/Screenshot3-19.png?ssl=1 "WebDAV for Unity Asset 3")

## How to use WebDAV for Unity

### Create a new WebDAV Client object

![WebDAV Client Unity Asset Documentation](https://i0.wp.com/saguiitay.com/wp-content/
uploads/Documentation1.png?resize=527%2C781&ssl=1 "WebDAV for Unity Asset 4")

### Enter your connection details

Select the newly created WebDAV Client object, and in the inspector, enter the connection
details:

![WebDAV Unity Asset Screenshot 3](https://i0.wp.com/saguiitay.com/wp-content/uploads/
Documentation2.png?w=825&ssl=1 "WebDAV for Unity Asset 5")

### Add a WebDAV Client property to your scripts

    ```wp-block-preformatted
    // Create a field of type Client, and assign it in the Editorpublic WebDAVClient.Client webDAVClient;
    ```

![WebDAV Unity Asset Screenshot 2](https://i0.wp.com/saguiitay.com/wp-content/uploads/
Documentation3.png?w=825&ssl=1 "WebDAV for Unity Asset 6")

### Use the WebDAV Client

    ```wp-block-preformatted
    // Use the WebDAV client to list the files in the root foldervar res = webDAVClient.List("/");
    ```

## FAQ

### How do I access multiple WebDAV services?

You can create multiple WebDAV Client objects, each dedicated to a single WebDAV
service:

![WebDAV Unity Asset Screenshot 1](https://i0.wp.com/saguiitay.com/wp-content/uploads/
Documentation4.png?w=825&ssl=1 "WebDAV for Unity Asset 7")
