{"action":"created","issue":{"url":"https://api.github.com/repos/banago/PHPloy/issues/192","labels_url":"https://api.github.com/repos/banago/PHPloy/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/banago/PHPloy/issues/192/comments","events_url":"https://api.github.com/repos/banago/PHPloy/issues/192/events","html_url":"https://github.com/banago/PHPloy/issues/192","id":120417253,"number":192,"title":"Could not change directory to \"\"","user":{"login":"chlab","id":1931446,"avatar_url":"https://avatars.githubusercontent.com/u/1931446?v=3","gravatar_id":"","url":"https://api.github.com/users/chlab","html_url":"https://github.com/chlab","followers_url":"https://api.github.com/users/chlab/followers","following_url":"https://api.github.com/users/chlab/following{/other_user}","gists_url":"https://api.github.com/users/chlab/gists{/gist_id}","starred_url":"https://api.github.com/users/chlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chlab/subscriptions","organizations_url":"https://api.github.com/users/chlab/orgs","repos_url":"https://api.github.com/users/chlab/repos","events_url":"https://api.github.com/users/chlab/events{/privacy}","received_events_url":"https://api.github.com/users/chlab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-04T14:56:05Z","updated_at":"2015-12-06T15:59:11Z","closed_at":null,"body":"Hi\r\n\r\nJust tried using phploy. This is whay my deploy.ini looks like:\r\n\r\n```\r\n[staging]\r\n    scheme = sftp\r\n    user = developer\r\n    pass = ***\r\n    host = host02\r\n    path = \"/deploy.test\"\r\n    port = 22\r\n\r\n    include[] = \"htdocs/\"\r\n```\r\n\r\nWhen I run `phploy -s staging` I get\r\n````\r\nPHP Notice:  Undefined variable: data in phar:///usr/local/bin/phploy.phar/vendor/banago/bridge/src/Backend/Ssh2.php on line 89\r\n\r\nNotice: Undefined variable: data in phar:///usr/local/bin/phploy.phar/vendor/banago/bridge/src/Backend/Ssh2.php on line 89\r\n\r\nOh Snap: Could not change directory to ''. Please make sure the directory exists.\r\n```\r\n\r\nAny help on what's wrong here?\r\nIf I connect to my SFTP via the same credentials in an FTP program it works and as far as I can tell, the folder exists."},"comment":{"url":"https://api.github.com/repos/banago/PHPloy/issues/comments/162325073","html_url":"https://github.com/banago/PHPloy/issues/192#issuecomment-162325073","issue_url":"https://api.github.com/repos/banago/PHPloy/issues/192","id":162325073,"user":{"login":"banago","id":339914,"avatar_url":"https://avatars.githubusercontent.com/u/339914?v=3","gravatar_id":"","url":"https://api.github.com/users/banago","html_url":"https://github.com/banago","followers_url":"https://api.github.com/users/banago/followers","following_url":"https://api.github.com/users/banago/following{/other_user}","gists_url":"https://api.github.com/users/banago/gists{/gist_id}","starred_url":"https://api.github.com/users/banago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banago/subscriptions","organizations_url":"https://api.github.com/users/banago/orgs","repos_url":"https://api.github.com/users/banago/repos","events_url":"https://api.github.com/users/banago/events{/privacy}","received_events_url":"https://api.github.com/users/banago/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T15:59:11Z","updated_at":"2015-12-06T15:59:11Z","body":"The dot (.) in the directory name might be the culprit.  Also, the verbose mode is available by running `--debug`.  \r\n\r\nThanks for using PHPloy."}}