Added comments regarding checking if a directory exists.
Better logging.
New: Added command to change working directory
Fix: No longer fails to detect if a directory exists when there are no contents in the directory
Fix: Somewhat better logic used to determine if a remote handle exists or not. It now checks if there is a remoteHandle on the file. If there is no remoteHandle on the file it _assumes_ that the file doesn’t exist on the server. I also made sure all FMs associate the remoteHandle to new files AFTER it is known that the file addition succeeded.
Described how the lib currently works in regards to a connection being made for every command issued to the server.
Added new API command printWorkingDirectory. This is currently not useful because the connection is not saved between commands AND the cwd is not being tracked.
Cleaned up logic to check for existing directory.
Updated unit tests for all new commands.
lastModifiedAtPath can now be called asynchronously.
directoryExistsAtPath can now be called asynchronously.
Fix: When returning error back to callee it no longer nils out the _lastError before the callee has a chance to read the error. Instead, before the error is returned to the callee, the _lastError is copied and then sent back to the callee.
Updated readme to include command to check if a directory exists
Merge pull request #5 from PeqNP/Buffer

Version 1.2.0