EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How do I get / set current directory?

SFTP doesn't have a concept of current directory. You must always use absolute paths when you refer to the files.

If you use relative paths, the result depends on server implementation (in most cases, the path will be relative to user's home page). Use RequestAbsolutePath() method to convert relative path to absolute.

Return to the list


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!