Add put_dir and put_file with local path methods