form does not upload file for upload

0

I have a form that I need to upload to an ftp.

When I put it down the form does not load file.

<form id="frmEnviar" name="frmEnviar" data-ajax="false" method="post" runat="server" enctype="multipart/form-data">

</form>

Already in the form below loads file.

@using (Html.BeginForm("Inserir", "ProtocoloLatam", FormMethod.Post, new { enctype = "multipart/form-data" }))
{


}

Because the first way does not work?

    
asked by anonymous 30.07.2018 / 19:59

0 answers