Description
1. avoid hardcoded "/"
2. allow empty remoteFileSeparator for outbound
3. fix the single directory issue (where nextSeparatorIndex == -1)
1. avoid hardcoded "/"
2. allow empty remoteFileSeparator for outbound
3. fix the single directory issue (where nextSeparatorIndex == -1)