Initial work on PUT->dir