add curl download to memory