note: you can do the same 1.1
asp.net fileupload support loads the file into memory, then calls page
processing. as long as you have enough memeory (and up the page timeout),
you can load 10mb files.
there are third party controls that write the file to disk (in a temp
folder) as it comes in to save memory, then passes the filename to the page.
-- bruce (sqlwork.com)
"VB Programmer" <> wrote in message
news:%...
> Hey y'all look what I found:
> https://msdn.microsoft.com/asp.net/d...UploadASP2.asp
>
> "VB Programmer" <> wrote in message
> news:...
>> My users are going to upload video files, up to 10MB each. What are my
>> alternatives (FREE preferred)....
>>
>> "Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message
>> news:...
>>> you can't unless you write your own active/x control to do the uploads.
>>> also you can not catch file too large, as asp.net just terminates the
>>> upload (closes the socket) to stop at max size, thus no response can be
>>> sent.
>>>
>>> -- bruce (sqlwork.com)
>>>
>>>
>>> "VB Programmer" <> wrote in message
>>> news:...
>>>>I am using a FileUpload control (ASP.NET 2.0). How do I check the
>>>>length of the file in bytes BEFORE I let them upload it?
>>>>
>>>> I believe my code checks now AFTER...
>>>>
>>>> If FileUpload1.PostedFile.ContentLength >
>>>> ConfigurationManager.AppSettings("MaxVideoUploadSi ze") Then
>>>> lblErr.Text = "File needs to be > 0 bytes and less than " &
>>>> ConfigurationManager.AppSettings("MaxVideoUploadSi ze") / 1000000 & "
>>>> MB."
>>>> Exit Sub
>>>> End If
>>>>
>>>>
>>>
>>>
>>
>>
>
>