There was a typo in the routine I posted the correction is shown below. change the Line: --> fp6=fopen(temp,"a+b"); to read --> fp6=fopen(temp,"r+b"); Gilbert Mackall N3RZN ---- Via the amsat-bb mailing list at AMSAT.ORG courtesy of AMSAT-NA. To unsubscribe, send "unsubscribe amsat-bb" to Majordomo@amsat.org