Asp.net - Using PostedFile.InputStream Twice?

Mar 21, 2012

I'm trying to resize one image to 5 different sizes (and then upload them to amazonS3).

I'm using imageresizer.net the problem seems to be that i cannot use the inputstream twice. it works the first time.

[Code]...

The code breaks when i try to retrieve the FileUpload1.PostedFile.InputStream the second time.

View 2 Replies


ADVERTISEMENT

Asp.net - PostedFile Is Nothing On DataGrid File Upload?

Apr 9, 2009

I'm trying to upload a file in VB.NET using an HtmlInputFile, but everytime I upload, the HtmlInputFile's PostedFile is Nothing.

[Code]...

View 1 Replies

Binary Data -inputstream Error?

Jun 4, 2010

I am only pasting what I feel is relevant to this error but if you deem necessary I will paste the w hole code,software used- sqlserver 2005 express, VS 2008 express - language vb.netlittle extra info is added at the end of this code

View 14 Replies

InputFile.PostedFile.ContentLength Units Of Measurement?

Sep 13, 2010

the units measured by InputFile.PostedFile.ContentLength . I need to make sure the file is less than 500k.

View 2 Replies

Java - J2ME, InputStream Hangs Up After Receving 40K Of Data Over Bluetooth?

Nov 18, 2009

On sending data over bluetooth from PC to my mobile(N73), the Input Stream seems to hang up.InputStream is derived from StreamConnection.Does the InputStream have an internal buffer that needs to be emptied while reading large chunks of data?Data is being received in chunks of 10Kb to 15Kb range, and the reading stops after receiving the 3rd chunk.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved