Remove dead upload code