Method SFTPClient():curDir() Foundation
Gets or sets the current working directory.
:curDir( [<cNewDir>] ) --> cResult
The previous current directory path, or an empty string on error.
Gets the current working directory or changes to a different directory on the SFTP server.
If changing or setting the directories fails, an empty string is returned. Use :getLastError() and :getLastMessage() methods to obtain detailed error information.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.