Click here to Skip to main content
15,886,518 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

VB
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)
str.Close()


if the client sends multiple files how can i read them from the server side? is it possible using the same method mentioned above?
Posted
Updated 7-Jul-14 5:04am
v2
Comments
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