Link to home
Start Free TrialLog in
Avatar of ken355
ken355

asked on

Is there a function that does the opposite of URLDownloadToFile() ex. put a file to a URL in c++?

Is there a function that does the opposite of URLDownloadToFile() ex. put a file to a URL in c++?
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ken355
ken355

ASKER

on the HTTPOpenRequest should i be using the PUT verb? instead of the POST?
Files are usually transferred via POST - if your server accepts PUT, you can change that of course.
Avatar of ken355

ASKER

thank you i understand what is going on, last question is regarding HttpOpenRequest(hConnect, "POST",
      _T("FormActionHere"), NULL, NULL, accept, 0, 1);

The lpszObjectName parameter ex. "FormActionHere" (the name of the target object of the verb) should this be the filename that i am sending?
Avatar of ken355

ASKER

Quick response