I'm am using the following lines of code:
System.IO.
Stream stream = File.Open(path, System.IO.FileMode.Open);
cwuploader.Items.Add(Convert.ToInt32(stream.Length), filename, stream);
The code is working, but for medium size files (50 MB+), the procedure takes way too much server resources.
Could a solution be to make a false stream object containing an empty dummy file?
Why does the uploader need the stream anyway?