sha
sha

Reputation: 1420

Sardine Webdav : How to create a new file?

I'm working on Webdav client Sardine. I'm unable to create a new file (ex: file.txt) on server using Sardine webclient for Webdav. I created the directory using

sardine.createDirectory(dirPathToCreate);

Is there any way to create a new file using Sardine?

Upvotes: 1

Views: 3322

Answers (1)

jawi
jawi

Reputation: 360

You can use the [Sardine.put] https://github.com/lookfirst/sardine/wiki/UsageGuide

Upvotes: 1

Related Questions