JS Webdav Client: Access files of a Webdav server

Recommend this page to a friend!
  Info   View files Documentation   View files View files (119)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-12-03 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 37 All time: 514 This week: 3Up
Version License JavaScript version Categories
webdav-js 1.0.15GNU General Publi...6Web services, Files and Folders
Description Author

This package can access files of a Webdav server.

It can send HTTP requests to a WebDav server and perform operations to access its files.

Currently it can browse files, preview fonts, videos and images, and create directories.

Innovation Award
JavaScript Programming Innovation award nominee
March 2017
Number 3
WebDav is a protocol based on HTTP for manipulate files stored on remote Web servers.

This package can manipulate Web server files sending WebDav requests using AJAX.

Manuel Lemos
Picture of Dom Hastings
  Performance   Level  
Name: Dom Hastings <contact>
Classes: 4 packages by
Country: United Kingdom
Age: 38
All time rank: 1023 in United Kingdom
Week rank: 39 Up5 in United Kingdom Down
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

Details

webdav-js

A simple way to administer a WebDAV filesystem from your browser.

The original aim for this project was to provide a bookmarklet for use when you want to administer a WebDAV server, without the need for using a third party application.

The application has since been rewritten to not rely on jQuery and use more modern methods and provide a single runtime file. Now that there's more separation between the interface code and the library code, I'd like to investigate using other frontend approaches to see which I prefer (and also to weigh up the differences between the currently available frameworks). There's still work to do around code separation andhopefully this will be something I can continue to work on (as time allows) I feel it's at least as stable as the previous version.

Tested in:

  • Chrome
  • Firefox
  • Edge
  • IE11 (I may drop support for this to reduce the package size in the future - unless anyone REALY needs it?)

Implementations

Bookmarklet:


or drag this link directly

### Apache:

There is also an example for how you could set up Apache in the `examples/` directory (one using a locally hosted
version of the library, and one using a CDN).

Think you have another example implementation that would be good to showcase?
Fork this repository and make a PR!


## Test the library

Included in the package is a `docker-compose.yml` file that can spawn an Alpine Linux Apache WebDAV server that uses the
example Apache configuration so you can see the library in action if you don't have a WebDAV server at your disposal.

To start it, run:

    docker-compose up

and navigate to `http://localhost:8080/`.


## Contributing

If you feel this can be improved (I'm certain it can!), please feel free to fork it and submit a PR.

To start making changes, ensure you install all the dependencies:

    yarn install # or npm install

After making changes, ensure you rebuild the application:

    yarn build # or npm run build

Once your changes have compiled you can test using the Docker container.


### Unit Tests

To run the unit tests:

    docker-compose run --workdir=/src --rm test yarn test
  Files folder image Files  
File Role Description
Files folder image.github (1 directory)
Files folder imageassets (3 directories)
Files folder imagebuild (4 files)
Files folder imagedocker (1 directory)
Files folder imageexamples (3 directories)
Files folder imagesrc (3 files, 1 directory)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file .babelrc Data Auxiliary data
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .eslintignore Data Auxiliary data
Accessible without login Plain text file .eslintrc.json Data Auxiliary data
Accessible without login Plain text file .stylelintrc.json Data Auxiliary data
Accessible without login Plain text file docker-compose.yml Data Auxiliary data
Accessible without login HTML file index.html Doc. Documentation
Accessible without login Plain text file karma.conf.js Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file TODO.md Data Auxiliary data
Accessible without login Plain text file webpack.config.js Class Class source
Accessible without login Plain text file yarn.lock Data Auxiliary data

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (1 file)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file build-on-push.yml Data Auxiliary data

  Files folder image Files  /  assets  
File Role Description
Files folder imagecss (2 files)
Files folder imageimg (64 files)
Files folder imagescss (1 file)

  Files folder image Files  /  assets  /  css  
File Role Description
  Accessible without login Plain text file style-min.css Data Auxiliary data
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  assets  /  img  
File Role Description
  Accessible without login Image file delete.png Icon Icon image
  Accessible without login Image file folder.png Icon Icon image
  Accessible without login Image file loading.gif Icon Icon image
  Accessible without login Plain text file loading.svg Data Auxiliary data
  Accessible without login Image file page_add.png Icon Icon image
  Accessible without login Image file page_delete.png Icon Icon image
  Accessible without login Image file page_save.png Icon Icon image
  Accessible without login Image file page_white.png Icon Icon image
  Accessible without login Image file page_white_acrobat.png Icon Icon image
  Accessible without login Image file page_white_actionscript.png Icon Icon image
  Accessible without login Image file page_white_add.png Icon Icon image
  Accessible without login Image file page_white_c.png Icon Icon image
  Accessible without login Image file page_white_camera.png Icon Icon image
  Accessible without login Image file page_white_cd.png Icon Icon image
  Accessible without login Image file page_white_code.png Icon Icon image
  Accessible without login Image file page_white_code_red.png Icon Icon image
  Accessible without login Image file page_white_coldfusion.png Icon Icon image
  Accessible without login Image file page_white_compressed.png Icon Icon image
  Accessible without login Image file page_white_copy.png Icon Icon image
  Accessible without login Image file page_white_cplusplus.png Icon Icon image
  Accessible without login Image file page_white_csharp.png Icon Icon image
  Accessible without login Image file page_white_cup.png Icon Icon image
  Accessible without login Image file page_white_database.png Icon Icon image
  Accessible without login Image file page_white_delete.png Icon Icon image
  Accessible without login Image file page_white_dvd.png Icon Icon image
  Accessible without login Image file page_white_edit.png Icon Icon image
  Accessible without login Image file page_white_error.png Icon Icon image
  Accessible without login Image file page_white_excel.png Icon Icon image
  Accessible without login Image file page_white_find.png Icon Icon image
  Accessible without login Image file page_white_flash.png Icon Icon image
  Accessible without login Image file page_white_freehand.png Icon Icon image
  Accessible without login Image file page_white_gear.png Icon Icon image
  Accessible without login Image file page_white_get.png Icon Icon image
  Accessible without login Image file page_white_go.png Icon Icon image
  Accessible without login Image file page_white_h.png Icon Icon image
  Accessible without login Image file page_white_horizontal.png Icon Icon image
  Accessible without login Image file page_white_key.png Icon Icon image
  Accessible without login Image file page_white_lightning.png Icon Icon image
  Accessible without login Image file page_white_link.png Icon Icon image
  Accessible without login Image file page_white_magnify.png Icon Icon image
  Accessible without login Image file page_white_medal.png Icon Icon image
  Accessible without login Image file page_white_office.png Icon Icon image
  Accessible without login Image file page_white_paint.png Icon Icon image
  Accessible without login Image file page_white_paintbrush.png Icon Icon image
  Accessible without login Image file page_white_paste.png Icon Icon image
  Accessible without login Image file page_white_php.png Icon Icon image
  Accessible without login Image file page_white_picture.png Icon Icon image
  Accessible without login Image file page_white_powerpoint.png Icon Icon image
  Accessible without login Image file page_white_put.png Icon Icon image
  Accessible without login Image file page_white_ruby.png Icon Icon image
  Accessible without login Image file page_white_stack.png Icon Icon image
  Accessible without login Image file page_white_star.png Icon Icon image
  Accessible without login Image file page_white_swoosh.png Icon Icon image
  Accessible without login Image file page_white_text.png Icon Icon image
  Accessible without login Image file page_white_text_width.png Icon Icon image
  Accessible without login Image file page_white_tux.png Icon Icon image
  Accessible without login Image file page_white_vector.png Icon Icon image
  Accessible without login Image file page_white_visualstudio.png Icon Icon image
  Accessible without login Image file page_white_width.png Icon Icon image
  Accessible without login Image file page_white_word.png Icon Icon image
  Accessible without login Image file page_white_world.png Icon Icon image
  Accessible without login Image file page_white_wrench.png Icon Icon image
  Accessible without login Image file page_white_zip.png Icon Icon image
  Accessible without login Image file pencil.png Icon Icon image

  Files folder image Files  /  assets  /  scss  
File Role Description
  Accessible without login Plain text file style.scss Data Auxiliary data

  Files folder image Files  /  build  
File Role Description
  Accessible without login Plain text file examples-branch.sh Data Auxiliary data
  Accessible without login Plain text file examples-tag.sh Data Auxiliary data
  Accessible without login Plain text file examples.sh Data Auxiliary data
  Accessible without login Plain text file sass.sh Data Auxiliary data

  Files folder image Files  /  docker  
File Role Description
Files folder imagetest (1 file)

  Files folder image Files  /  docker  /  test  
File Role Description
  Accessible without login Plain text file Dockerfile Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
Files folder imageapache-directory-list-local (3 files)
Files folder imageapache-directory-list (3 files)
Files folder imagebookmarklet (2 files)

  Files folder image Files  /  examples  /  apache-directory-list-local  
File Role Description
  Accessible without login HTML file header.html Doc. Documentation
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file webdav.conf Data Auxiliary data

  Files folder image Files  /  examples  /  apache-directory-list  
File Role Description
  Accessible without login Plain text file header.html Aux. Auxiliary script
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file webdav.conf Data Auxiliary data

  Files folder image Files  /  examples  /  bookmarklet  
File Role Description
  Accessible without login Plain text file README.md Doc. Documentation
  Accessible without login Plain text file source-min.js Aux. Auxiliary script

  Files folder image Files  /  src  
File Role Description
Files folder imagelib (5 files, 2 directories)
  Accessible without login Plain text file example.generator.js Aux. Auxiliary script
  Accessible without login Plain text file webdav-min.js Class Class source
  Accessible without login Plain text file webdav.js Class Class source

  Files folder image Files  /  src  /  lib  
File Role Description
Files folder imageDAV (3 files)
Files folder imageUI (3 files, 1 directory)
  Accessible without login Plain text file DAV.js Class Class source
  Accessible without login Plain text file EventObject.js Class Class source
  Accessible without login Plain text file HTTP.js Class Class source
  Accessible without login Plain text file joinPath.js Aux. Auxiliary script
  Accessible without login Plain text file Unimplemented.js Aux. Auxiliary script

  Files folder image Files  /  src  /  lib  /  DAV  
File Role Description
  Accessible without login Plain text file Collection.js Class Class source
  Accessible without login Plain text file Entry.js Class Class source
  Accessible without login Plain text file Response.js Class Class source

  Files folder image Files  /  src  /  lib  /  UI  
File Role Description
Files folder imageNativeDOM (4 files, 1 directory)
  Accessible without login Plain text file NativeDOM.js Class Class source
  Accessible without login Plain text file supportsFocusWithin.js Aux. Auxiliary script
  Accessible without login Plain text file UI.js Class Class source

  Files folder image Files  /  src  /  lib  /  UI  /  NativeDOM  
File Role Description
Files folder imageList (1 file)
  Accessible without login Plain text file Container.js Class Class source
  Accessible without login Plain text file Element.js Class Class source
  Accessible without login Plain text file Footer.js Class Class source
  Accessible without login Plain text file List.js Class Class source

  Files folder image Files  /  src  /  lib  /  UI  /  NativeDOM  /  List  
File Role Description
  Accessible without login Plain text file Item.js Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageunit (1 file, 1 directory)
  Accessible without login Plain text file .eslintrc.json Data Auxiliary data

  Files folder image Files  /  tests  /  unit  
File Role Description
Files folder imageDAV (3 files)
  Accessible without login Plain text file DAV.test.js Example Example script

  Files folder image Files  /  tests  /  unit  /  DAV  
File Role Description
  Accessible without login Plain text file Collection.test.js Example Example script
  Accessible without login Plain text file Entry.test.js Example Example script
  Accessible without login Plain text file Response.test.js Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:37
This week:0
All time:514
This week:3Up