PDA

View Full Version : WebDAV server



atomic
4th September 2015, 23:48
Hi,
I would like ask you what is the best way to implement a WebDAW serwer using Qt?
Extended QNetworkManager? - it is even possible?
Using library like QWebDAV?

Maybe someone of you knows other possible solution using Qt?

ChrisW67
5th September 2015, 00:57
QNetworkAccessManager manages client side networking.
I was unable to find QWebDAV to see if it was useful on the server side.

You can use QTcpServer to build a web server from scratch.
You might get a good chunk of the way to implementing an HTTP server-based WebDAV server with some of these
QHttpServer http://blog.nikhilism.com/2011/02/qhttpserver-web-apps-in-qt.html
QtWebApp http://stefanfrings.de/qtwebapp/index-en.html

atomic
5th September 2015, 12:12
You can use QTcpServer to build a web server from scratch.

Because webDAV is extension of HTTP Protocol so I first need HTTP Server. I'm right?
Ok, but if QNetworkAccessManager is only for client side so how I can parse Http request on tcp server side?