Upload function permulation.