put remote file into local directory