webdav-client
webdav-client copied to clipboard
WebDAV client written in Typescript for NodeJS and the browser
I'm trying to use the streams to up and download files from a webdav server. I am calling client.createReadStream() with just a url, without any additional options. This gives the...
I'm writing a Nextcloud client application with Nodejs and webdav-client. I have no problems reading contents of the nexcloud server but uploading files with client.createWriteStream creates zero length files. This...
We are receiving a 302 redirect from a webdav server to another domain and axios does not (for good reasons) automatically pass the Authorization header to the redirect url. Normally...
Hi! First of all thank you for this great lib! I've been using webdav client for a few months and recently I am getting this error while trying to send...
so that we get explicit return type when different options provided ```ts getFileContents({} as any, "/").then(res => res.byteLength); // res: BufferLike getFileContents({} as any, "/", { format: "text" }).then(res =>...
Use case: I'm creating a WebDAV GUI client based on electron with an enabled `nodeIntegration` flag. It means I can use both requests ("browser" and "NodeJS" based). I wasted a...
let the users to use in unit tests this server source code direct from node_modules - the only possibility to set dir is to copy the server source code.. `path.resolve(__dirname,...
Hi , thanks for your cool tool first , Is it possible to append a new line to file on webdav server? for now , I have to fetch remote...
(Using the web version, v4.6.0) Passing a File object to `putFileContents()` results in `calculateDataLength()` throwing an error because it can't detect the size. Passing `contentLength: file.size` makes things work again...
When the Basic authentication string contains Unicode special chars (for instance `é`) it is incorrectly base64 encoded. As the [documentation of the used base64 library](https://github.com/mathiasbynens/base64#base64encodeinput) states: > ### `base64.encode(input)` >...