// Loop while we did not hit a "null" value. while (StructKeyExists( REQUEST, "ZipEntry" )){ // .... more code here .... // Get the next zip entry (finish if null). REQUEST.ZipEntry = REQUEST.ZipInputStream.GetNextEntry(); }