studio-b12 / gowebdav

A golang WebDAV client library and command line tool.
BSD 3-Clause "New" or "Revised" License
309 stars 89 forks source link

[WIP] Supports upload files via WriteCloser #62

Closed the-plate closed 1 year ago

the-plate commented 1 year ago

Supports write file via io.WriteCloser i.e., create a function that returns io.WriteCloser.

Could be as follows:

63 func (c *Client)CreateWdFile(path string,r io.Reader) (writer io.WriteCloser, err error) {}