add upload to cloud menu to copy all the files to the server

This commit is contained in:
2017-11-04 22:48:18 +00:00
parent 2baaff10cc
commit b42fbb197a
5 changed files with 64 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ void App::upload(std::string filename)
if (curl)
{
curl_easy_setopt(curl, CURLOPT_URL, "http://omigamedev.ddns.net:8080/upload/upl.php");
curl_easy_setopt(curl, CURLOPT_URL, "http://omigamedev.ddns.net:8080/panoview/upl.php");
curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &res);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curl_data_handler);