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?