respect archive flag for sftp option.