title: Trouble when try send HTTP multiple files in same field (Delphi)
body: <p>I'm creating a project in Delphi for upload multiple files to a webserver, but not        up more the one file on same field like on simple form php. Below my Delphi code: </p>
  
  <pre><code>procedure Http_arquivos;
  
  var
    i: integer;
    arquivos: array [0..6] of String;
    HTTP: TIdHTTP;
    POSTData: TIdMultipartFormDataStream;
  
  begin
    arquivos[0]:= 'c:\arquivo0.bmp';
    arquivos[1]:= 'c:\arquivo1.bmp';
    arquivos[2]:= 'c:\arquivo2.html';
    arquivos[3]:= 'c:\arquivo3.html';
    arquivos[4]:= 'c:\arquivo4.wav';
    arquivos[5]:= 'c:\arquivo5.bmp';
    arquivos[6]:= 'c:\arquivo6.txt';
  
    HTTP := TIdHTTP.Create(nil);
    POSTData := TIdMultipartFormDataStream.Create;
  
    for i:= 0 to Length(arquivos) do
    begin
  
      if fileexists (arquivos[i]) then 
      begin
        //showmessage(arquivos[i]);
        try
          POSTData.AddFile('files[]', arquivos[i], 'multipart/form-data');
          HTTP.Post('http://localhost/ENVIO/MultUp.php', POSTData);
        finally
          POSTData.Free;
      end;
    end;
  end;
  end;
  </code></pre>