Hi David, there are many source code examples on the curl site and one in particular that exactly covers what you are after is: https://curl.se/libcurl/c/anyauthput.html it's just that it also proves some code to handle the "any auth" which you probably don't need but if so then you can simply ignore those parts of the example.
/HH Den sön 25 apr. 2021 kl 11:59 skrev David Caul via curl-library < curl-library@cool.haxx.se>: > Hi Team, > > 1.Need some guidance that how can I use curl to send some file over http > to a some server . > 2. Basically what are the things in require my CPP program to do that. > > Br, > David > > > ------------------------------------------------------------------- > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library > Etiquette: https://curl.se/mail/etiquette.html
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html