Archived Forum Post

Index of archived forum posts

Question:

HOW to use CkUpload AddCustomHeader method(C++)?

Mar 06 '14 at 20:41

hi,
I use CkUpload for C++ to upload file,
by wireshark the header shows User-Agent: Chilkat...
then I tried upload.AddCustomHeader("User-Agent", "Mozilla/5.0...")
But the packet was User-Agent: user-Agent this time, how could I use this method?


Answer

I found the problem and made the fix. What is the exact build you are using? (Operating system, VC++ version if Windows, 32/64-bit, etc.)