Find Jobs
Hire Freelancers

Debug an issue in existing C++ program on data files questing from ftp server --

$30-250 USD

Igangværende
Slået op over 4 år siden

$30-250 USD

Betales ved levering
Microsoft Visual Studio/C++/curl.h/netcdf.h Issue specification: The program was written specifically for accessing data of the 'GLBu0.08' grids through Hycom [login to view URL] The program worked well for this grid but FAILED TO FIND any files when I attempted to access the data of 'GLBv0.08' grids. The two worked and failed ftp addresses being: ftp://[login to view URL] and ftp://[login to view URL] My guess: The file names are different in lengths. GLBu0.08 files have substrings 'glb' while GLBv0.08 files have substring 'glbv' It might be related to the curl options. std::string buffer(""); if (curl) { curl_easy_setopt(curl, CURLOPT_URL, yInfo.ftpFileBase.c_str()); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void*)(&buffer)); /* list only */ curl_easy_setopt(curl, CURLOPT_DIRLISTONLY, 1L); int ret = curl_easy_perform(curl); if (ret != CURLE_OK) { std::cout << "Failled to read file names. Error code: "<< ret <<std::endl; } curl_easy_cleanup(curl); } For the worked case, the curl returned 'buffer' with good length ([login to view URL]() = 11368), whereas for the failed case the curl returned 'buffer' with bad length ([login to view URL]() = 5), which might cause the issue.
Projekt-ID: 21192728

Om projektet

2 forslag
Projekt på afstand
Aktiv 5 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
2 freelancere byder i gennemsnit $200 USD på dette job
Brug Avatar.
Hello, I have 9 years experience in QT, C++on linux,windows and Mac. i doneandroid application also using Qt frame work. We can discuss more information in chat.
$250 USD på 3 dage
5,0 (47 anmeldelser)
5,9
5,9
Brug Avatar.
Hello, i have read the details provided..please contact me to discuss more on the project deadline and some other few things
$150 USD på 7 dage
3,6 (20 anmeldelser)
5,4
5,4

Om klienten

Flag for UNITED STATES
Narragansett, United States
5,0
13
Betalingsmetode verificeret
Medlem siden jun. 12, 2019

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.