{"action":"created","issue":{"url":"https://api.github.com/repos/morris/vinyl-ftp/issues/45","repository_url":"https://api.github.com/repos/morris/vinyl-ftp","labels_url":"https://api.github.com/repos/morris/vinyl-ftp/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/morris/vinyl-ftp/issues/45/comments","events_url":"https://api.github.com/repos/morris/vinyl-ftp/issues/45/events","html_url":"https://github.com/morris/vinyl-ftp/issues/45","id":143826402,"number":45,"title":"Vinyl uploads all the content even when it is not newer","user":{"login":"cperezabo","id":3604722,"avatar_url":"https://avatars.githubusercontent.com/u/3604722?v=3","gravatar_id":"","url":"https://api.github.com/users/cperezabo","html_url":"https://github.com/cperezabo","followers_url":"https://api.github.com/users/cperezabo/followers","following_url":"https://api.github.com/users/cperezabo/following{/other_user}","gists_url":"https://api.github.com/users/cperezabo/gists{/gist_id}","starred_url":"https://api.github.com/users/cperezabo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cperezabo/subscriptions","organizations_url":"https://api.github.com/users/cperezabo/orgs","repos_url":"https://api.github.com/users/cperezabo/repos","events_url":"https://api.github.com/users/cperezabo/events{/privacy}","received_events_url":"https://api.github.com/users/cperezabo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-27T16:44:28Z","updated_at":"2016-04-24T12:59:03Z","closed_at":null,"body":"I've created the following task.\r\n\r\n    gulp.task('deploy', function() {\r\n        var conn = ftp.create({\r\n            host: 'xxxx.com',\r\n            user: 'xxxx@xxxx.com',\r\n            password: 'xxxx',\r\n            log: gutil.log\r\n        });\r\n\r\n        return gulp.src('dist/**', {\r\n                buffer: false\r\n            })\r\n            .pipe(conn.newer('/')) // only upload newer files\r\n            .pipe(conn.dest('/'))\r\n            .pipe(notify({\r\n                message: 'Finished deployment.',\r\n                onLast: true\r\n            }));\r\n    });\r\n\r\nThe problem is that it always uploads all the content even if I have changed nothing.. I don't know if I am doing anything wrong."},"comment":{"url":"https://api.github.com/repos/morris/vinyl-ftp/issues/comments/213952920","html_url":"https://github.com/morris/vinyl-ftp/issues/45#issuecomment-213952920","issue_url":"https://api.github.com/repos/morris/vinyl-ftp/issues/45","id":213952920,"user":{"login":"morris","id":32837,"avatar_url":"https://avatars.githubusercontent.com/u/32837?v=3","gravatar_id":"","url":"https://api.github.com/users/morris","html_url":"https://github.com/morris","followers_url":"https://api.github.com/users/morris/followers","following_url":"https://api.github.com/users/morris/following{/other_user}","gists_url":"https://api.github.com/users/morris/gists{/gist_id}","starred_url":"https://api.github.com/users/morris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morris/subscriptions","organizations_url":"https://api.github.com/users/morris/orgs","repos_url":"https://api.github.com/users/morris/repos","events_url":"https://api.github.com/users/morris/events{/privacy}","received_events_url":"https://api.github.com/users/morris/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T12:59:03Z","updated_at":"2016-04-24T12:59:03Z","body":"The task looks correct and should work as expected. Maybe some timestamp comparison is buggy, however I'd need a test environment to find the issue"}}