1dc974245f
when the dir exists, sftp.mkdir() would raise an error and ends the for loop.
when the dir exists, sftp.mkdir() would raise an error and ends the for loop.