greedy.c upload