write result to http directory