P
PeterB
Hi!
I have been looking at a script for downloading files from aspfaw.com:
http://www.aspfaq.com/show.asp?id=2161
It's the script for larger downloads (second larger code-block).
Here's a snippet:
Response.AddHeader "Content-Length", iSz
For i = 1 To iSz \ chunk
If Not Response.IsClientConnected Then Exit For
Response.BinaryWrite adoStream.Read(chunk)
Next
What does "For" stand for that is after "Then Exit" (Then Exit For)? Isn't
End If missing in that statement?
thanks,
Peter
I have been looking at a script for downloading files from aspfaw.com:
http://www.aspfaq.com/show.asp?id=2161
It's the script for larger downloads (second larger code-block).
Here's a snippet:
Response.AddHeader "Content-Length", iSz
For i = 1 To iSz \ chunk
If Not Response.IsClientConnected Then Exit For
Response.BinaryWrite adoStream.Read(chunk)
Next
What does "For" stand for that is after "Then Exit" (Then Exit For)? Isn't
End If missing in that statement?
thanks,
Peter