Re: Building HTTP Post header for posting binary file to server



On Aug 24, 7:10 am, AndyD <and...@xxxxxxxxx> wrote:
i have this for the packet that will be sent to the server
dwFileSize is the file size of the file i am posting

sprintf(RecepcionBuffer,"%s%s %s","POST /vt/en/recepcion?",II.c_str
(),"HTTP/1.1\r\n"
                                      "Host:www.virustotal.com\r\n"
                                                          "Keep-Alive: 300\r\n"
                                                          "Connection: keep-alive\r\n"
                                                          "Content-Type: multipart/form-data;
boundary=---------------------------41184676334\r\n"
                              "Content-Length: %d\r\n",dwFileSize,
                                                          "Content-Type: application/octet-stream\r\n\r\n");

i dont know how to make this header file at all , can anyone help

What do you need?

[no es evidente lo que necessita]

-Le Chaud Lapin-

.



Relevant Pages

  • Building HTTP Post header for posting binary file to server
    ... i have this for the packet that will be sent to the server ... dwFileSize is the file size of the file i am posting ... i dont know how to make this header file at all, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: ????Dragon Lady???
    ... If you had some stalker peeking in your windows would it ... Now YER not gonna back off the lady till she sez she agrees w/ya, and in case ya hadnt figured it out yet, she dont strike me as the type whose gonna do that, not even to shut ya up! ... DEA to posting an address that's already public domain. ... They are very very proud of the squealing. ...
    (alt.support.chronic-pain)
  • Re: A few Atari Items For Sale
    ... I dont mind how much one pay for a product, ... and say Hey you can get it cheaper at XXXX. ... I already bought stuff and send them ... And have been done in my Thread or Posting. ...
    (comp.sys.atari.st)
  • Re: A few Atari Items For Sale
    ... I dont mind how much one pay for a product, ... and say Hey you can get it cheaper at XXXX. ... I already bought stuff and send them ... And have been done in my Thread or Posting. ...
    (comp.sys.atari.st)
  • Re: my quandary
    ... violates criminal law but that's even way beneath any leo's ... they dont want you posting your sick little crap. ... AND you dont know how to do proxies, ...
    (alt.gathering.rainbow)