We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddf0c99 commit d56982aCopy full SHA for d56982a
1 file changed
sftpretty/__init__.py
@@ -1111,6 +1111,7 @@ def chdir(self, remotepath):
1111
:raises: IOError, if path does not exist
1112
'''
1113
with self._sftp_channel() as channel:
1114
+ self._cache.cwd = drivedrop(channel.normalize('.'))
1115
channel.chdir(drivedrop(remotepath))
1116
self._cache.cwd = drivedrop(channel.normalize('.'))
1117
self._default_path = self._cache.cwd
0 commit comments