funcionand upload