upload - Connecting to WebDAV with PHP? -
i'd connect webdav using php, , able upload files, etc. however, cannot figure out how connect it. imagine simple opening socket , sending proper headers/commands, don't know i'd need send. i'd without libraries/classes.
can point me in right direction?
yes, connect webdav server other http server have talk webdav.
but, since there enough difference between http , webdav need handle yourself, better off using webdav client or library.
webdav extended http lingo additional verbs propfind, proppatch, report etc. provides support querying, setting , fetching meta-properties of webdav resource via propfind , proppatch using xml payload. while many aspects should similar http notions. there number of small changes / nuances differs http.
this above brief introduction webdav can bit misleading read details on webdav rfc , info.
see following typical client implementation:
Comments
Post a Comment