<input> file

G

Guest

I have a control on a page in .net 2.0:

<input id="AddReport" type="file" name="AddReport" runat="server" />

which I use to get the path, etc. of a file. I then have a button:

<asp:Button ID="btnInsertTab8" runat="server" Text="Add Report" />

that when clicked takes the file data and moves the file to where I want it.
This has all been working fine for months. Recently there was an issue with
uploading one file, where when I select that file through input control, it
would not upload as usual. I ran a debug on this, and for that file, it
appears to never post back (the form load event is never triggered). The
only difference I could see on this file was that it was much larger than
normal (4 megabytes). I tried it with smaller files, and those still work
fine. I tried it with other large files, and those don't work either. It
seems strange that the file size should have any effect, as all I am getting
is the file name and path through the control. Is there any data on this
that can help me resolve it?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top