Update Cpp Program

Job ID: 33440290

Budget: $10 – $30 AUD

I have a C++ program that downloads files from a website using ChttpRequest and need the code updated to handle redirects correctly

Current version works with direct url links but new website now redirects the call to a third party domain and website and the download no longer works.

eg
example of the url is -- https://subdomain.xyz.com/directory1/directory2/filename
the ChttpRequest gives a 302 redirect to a hosted site with a different domain and file name similar to the address below.

https://abcde.blob.core.windows.net/subdomain/directory/differentdirectory/filename.zip

With the new redirect the download fails as the file size is too small, as I think it is checking the cookie file size and not the actual redirect file size.

Should be pretty simple for a good C++ programmer.