{"action":"created","issue":{"url":"https://api.github.com/repos/nskvortsov/test/issues/225","labels_url":"https://api.github.com/repos/nskvortsov/test/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/nskvortsov/test/issues/225/comments","events_url":"https://api.github.com/repos/nskvortsov/test/issues/225/events","html_url":"https://github.com/nskvortsov/test/issues/225","id":54160258,"number":225,"title":"FTP deployer: Cannot deploy to arbitrary directory","user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T07:49:05Z","updated_at":"2015-01-13T07:49:06Z","closed_at":"2015-01-13T07:49:06Z","body":"I have this line in the \"Artifacts path:\" text field:\n\n*-api*/target/*.jar=>/tmp\n\nFTP deployer does not (as I would expect) try to deploy to /tmp on the target server\nbut rather to /home/deployuser/tmp\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/nskvortsov/deployer/issue/10\n- Originally reported by: Christian Schmitt\n- Originally created at: 2013-02-26T12:20:43.996\n"},"comment":{"url":"https://api.github.com/repos/nskvortsov/test/issues/comments/69707183","html_url":"https://github.com/nskvortsov/test/issues/225#issuecomment-69707183","issue_url":"https://api.github.com/repos/nskvortsov/test/issues/225","id":69707183,"user":{"login":"nskvortsov","id":539027,"avatar_url":"https://avatars.githubusercontent.com/u/539027?v=3","gravatar_id":"","url":"https://api.github.com/users/nskvortsov","html_url":"https://github.com/nskvortsov","followers_url":"https://api.github.com/users/nskvortsov/followers","following_url":"https://api.github.com/users/nskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/nskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/nskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nskvortsov/subscriptions","organizations_url":"https://api.github.com/users/nskvortsov/orgs","repos_url":"https://api.github.com/users/nskvortsov/repos","events_url":"https://api.github.com/users/nskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/nskvortsov/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T07:49:06Z","updated_at":"2015-01-13T07:49:06Z","body":"Christian,\n\nUnfortunately, TeamCity doesn't allow to specify absolute targets in \"Artifacts path:\" as this field is designed to contain relative destinations.\nTo deploy to absolute paths via FTP, add \"/\" to the value of \"Target\" field, e.g. (for \"/tmp\"):\n\nTarget: 192.168.0.1:21/\nArtifact paths: -api/target/*.jar=>tmp\n\nAlso, I made a fix to suppot absolute roots, so please, update the plugin from [this build](http://teamcity.jetbrains.com/viewLog.html?buildId=78311&tab=buildResultsDiv&buildTypeId=bt402&guest=1)\n\n----------------------------------------\nOriginal comment by: Nikita Skvortsov\n"}}