Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to download multiple files without zip?using c#
Posted
Comments
Herman<T>.Instance 12-May-14 3:04am    
what has ZIP to do with this? Use some tcpclient or so...
Sni.DelWoods 12-May-14 17:36pm    
I solved this problem by using javascript which opens serveral links to a download script.

sub Download
response.write("<script language='javascript'>")
response.write("newwindow('download.aspx?action=filename1');")
response.write("newwindow('download.aspx?action=filename2');")
response.write("</script>")
end sub

You could also add session-variables:
session("file-content1")=strContent1
session("file-content2")=strContent2

download: response.write(session("file-content1").tostring)

This is just useable if the target system has no poup blocker or something.
There is also a solution using iFrames (search).
Actually I'm using ZIP files most the time.

regards,
Andi
Member 9459076 28-May-14 8:02am    
plz provide some other options..

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