0

I try to write C code for sending 1 compressed file to server in HTTP POST multipart request with socket connection. I can't find on Net some multipart example for C language, could please somebody give an example? Thanks!

tatiana_c
  • 948
  • 7
  • 16
  • 31
  • An example with libcurl: https://curl.haxx.se/libcurl/c/postit2.html but this question is really too broad to be answered here. – Federico klez Culloca Jul 03 '17 at 10:40
  • 1
    Give more information about problem. First try google – EsmaeelE Jul 03 '17 at 10:49
  • @Federico thanks, I need example with sockets – tatiana_c Jul 03 '17 at 11:03
  • @EsmaeelE I need to write Post request like shown in https://stackoverflow.com/questions/22077802/simple-c-example-of-doing-an-http-post-and-consuming-the-response , but I need to do it as multipart I mean to add file data , headers and etc. – tatiana_c Jul 03 '17 at 11:05

0 Answers0