fixed typo (sftb => sftp).
fixed mkdir function (remotedir => dir).
and comment out util log.