PDA

View Full Version : Connect to a web server



sliverTwist
21st February 2013, 10:12
Hello i am new here :p
My problem is that i am trying to develop an Gui application that allows the user to connect to specified cloud server and synchronize his data
so my question is how to make this. I know Qt I've already learned about it and how to use it actually i am an android developer so developing in c++ seems a little bit funky to me. I'll appreciate any possible help
Thanks

wysota
21st February 2013, 10:37
You should start by learning the protocol this cloud server uses for data exchange.

sliverTwist
21st February 2013, 10:46
i think it uses HTTP and HTTPS because when i connect to the cloud i use an HTTP address username and a password

wysota
21st February 2013, 11:09
This is only the session layer. What about the application layer?

sliverTwist
21st February 2013, 11:19
Euuh well the application i am trying to develop is for owncloud ( https://github.com/owncloud ) i don't know how to figure the protocol for the application layer !!
Can you help me figuring that out ???

Thanks many thanks

wysota
21st February 2013, 11:32
You can probably start here:

http://api.owncloud.org/

And then possibly go here:

https://github.com/owncloud/sync-qt

anda_skoa
22nd February 2013, 13:35
ownClouds own sync solution is based on mirall https://github.com/owncloud/mirall

Cheers,
_

sliverTwist
25th February 2013, 08:19
Hello again ,

1 I know that but there is no way to build the project in qt from mirall directory
2 I've followed the steps mentioned in https://github.com/owncloud/sync-qt/blob/master/README but when i compile i get 3 lines of this error:

Assignment needs exactly one word on the left hand side.
File not found: (command line)