Added another WebDAV library to GitHub. This one is backed by tsNet. It has
currently the same features like the tsNet-free version.
See here: https://github.com/revig/livecode-webdavlib-tsnet
Communicate with a webdav server [SOLVED]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Communicate with a webdav server [SOLVED]
-- Ralf Bitter
-
- VIP Livecode Opensource Backer
- Posts: 9850
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Communicate with a webdav server [SOLVED]
Super, Ralf - thanks for posting that!rabit wrote: ↑Thu May 07, 2020 8:59 pmAdded another WebDAV library to GitHub. This one is backed by tsNet. It has
currently the same features like the tsNet-free version.
See here: https://github.com/revig/livecode-webdavlib-tsnet
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9850
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Communicate with a webdav server
I have used this successfully in the past, but it's been a long time. Testing now with a Nextcloud 22.25 server I'm getting 401 errors.bangkok wrote: ↑Mon Feb 17, 2020 8:24 amMatthias Rebbe was kind enough to help me and he made a sample stack.
Here is his original stack and my version (with a few changes for full compatibility with NextCloud, along with a system to convert the XML received in Json Array, thanks to Trevor Devor's function ).
You can :
-upload a file
-download a file
-create a folder
-delete a folder/file
-list the content of a folder (method PROPFIND)
For the "upload" function, 1 of my 2 instances (the one with a problem with SSL certificate) refused to work properly ... Always timeout message.
But the parameter :... solved the issue (but I still do not know why).Code: Select all
put true into pSettings["force_basic_auth"]
Anyway. With those 2 stacks, it's a good begining to work with Web Dav systems and Livecode. Have fun.
And if you want to add your own "grain of salt" (new functions etc.) do not hesitate !
Before I decide it's just me (and it may well be), anyone here using this successfully with a recent Nextcloud install?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn