Click here to Skip to main content
15,065,328 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
i have the below code to read the file that is being send from the client

Dim strLen As Integer = 0
Dim str As System.IO.Stream
strLen = CInt(str.Length)
Dim strArray(strLen) As Byte
str.Seek(0, SeekOrigin.Begin)
str.Read(strArray, 0, strLen)

if the client sends multiple files how can i read them from the server side? is it possible using the same method mentioned above?
Updated 7-Jul-14 5:04am
DamithSL 7-Jul-14 11:30am
how your client send multiple files? can you update the question with that code?
[no name] 7-Jul-14 14:09pm
do a common method to read binary array data. And it will return you specific file. and you can do it in handler file...
Send your files one by one :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900