upload bin and gen direktory