> repeat while length(tIncomingData) >= $CONTENT_LENGTH > read from stdin for $CONTENT_LENGTH > put it after tIncomingData > end repeat I dunno if this is an email typo, but you want "<" in the above, so that it will loop _until_ you have $CONTENT_LENGTH bytes- as is, it's not going to execute at all... HTH, Brian