SecureBlackbox 16: How do I get / set the current directory?
SFTP doesn't have a concept of the current directory. You must always use absolute paths when you refer to files.
If you use relative paths, the result depends on the server implementation (in most cases, the path will be relative to the user's home page). Use the RequestAbsolutePath() method to convert the relative path to absolute.
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.