upload scan.c