Make directory before file transfer