January 3, 2024, 16:27
<html><head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>404 Page not found</title> </head> <body text=#000000 bgcolor=#ffffff> <h1>Error: Page not found</h1> <h2>The requested URL was not found on this server.</h2> <h2></h2> </body></html>Thank you in advance! Sorry, there is not enough space for all my code. 😦 You can find it on Stackoverflow under the same title or ask and i can send more as comment ^^
void uploadToFirebaseStorage(const std::string&localFilePath,const std::string&firebaseStorageUrl,const std::string&firebaseApiKey){ CURLcurl; CURLcode res; curl_global_init(CURL_GLOBAL_DEFAULT); curl=curl_easy_init(); if(curl){ std::ifstream file(localFilePath,std::ios::binary); //... int main(int argc,char*argv){ //.. std::string localFilePath="/media/raspi/videos/output_2024010315.avi "; std::string firebaseStorageUrl=" nameIcopyfromtheStorage.appspot.com/Video "; std::string firebaseApiKey="......"; uploadToFirebaseStorage(localFilePath,firebaseStorageUrl,firebaseApiKey); //.. if(video_writer.isOpened()){ video_writer.release(); } }(And sorry for posting this again. Deleted the text and didnt know how can i add it again. Just wanted to fix it xD )