{"action":"created","issue":{"url":"https://api.github.com/repos/lavv17/lftp/issues/184","labels_url":"https://api.github.com/repos/lavv17/lftp/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/lavv17/lftp/issues/184/comments","events_url":"https://api.github.com/repos/lavv17/lftp/issues/184/events","html_url":"https://github.com/lavv17/lftp/issues/184","id":106807266,"number":184,"title":"FTP disconnect while trying to list","user":{"login":"wheelq","id":1497172,"avatar_url":"https://avatars.githubusercontent.com/u/1497172?v=3","gravatar_id":"","url":"https://api.github.com/users/wheelq","html_url":"https://github.com/wheelq","followers_url":"https://api.github.com/users/wheelq/followers","following_url":"https://api.github.com/users/wheelq/following{/other_user}","gists_url":"https://api.github.com/users/wheelq/gists{/gist_id}","starred_url":"https://api.github.com/users/wheelq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheelq/subscriptions","organizations_url":"https://api.github.com/users/wheelq/orgs","repos_url":"https://api.github.com/users/wheelq/repos","events_url":"https://api.github.com/users/wheelq/events{/privacy}","received_events_url":"https://api.github.com/users/wheelq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-16T16:11:23Z","updated_at":"2015-09-25T16:01:47Z","closed_at":null,"body":"options used (tried passive, epsv, no option set, still same result):\r\n\r\n```\r\nset ftp:ssl-allow false; set ftp:ssl-force false;set ftp:prefer-epsv true;set net:timeout 60;set net:reconnect-interval-base 1;set net:reconnect-interval-max 1;set net:reconnect-interval-multiplier 1;set net:max-retries 3;set net:persist-retries 3\r\n```\r\nResult:\r\n\r\n```\r\n---> FEAT\r\n  <--- 211-Features:\r\n   MDTM\r\n   MFMT\r\n   MFF modify;UNIX.group;UNIX.mode;\r\n   MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;\r\n   REST STREAM\r\n   SIZE\r\n  <--- 211 End\r\n  ---> OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode;UNIX.owner;\r\n  <--- 200 OPTS MLST modify;perm;size;type;UNIX.group;UNIX.mode;UNIX.owner;\r\n  ---> USER *******\r\n  <--- 331 Password required for *******\r\n  ---> PASS **********\r\n  <--- 230 User ******* logged in\r\n  ---> PWD\r\n  <--- 257 \"/\" is the current directory\r\n  ---> PASV\r\n  **** control-socket: Connection reset by peer\r\n  ---- Closing data socket\r\n  ---- Closing control socket\r\n```\r\n\r\n\r\nwhen using standard ftp command, everything works fine. tested against 4.6.4 as well as som eold 4.3..."},"comment":{"url":"https://api.github.com/repos/lavv17/lftp/issues/comments/143261552","html_url":"https://github.com/lavv17/lftp/issues/184#issuecomment-143261552","issue_url":"https://api.github.com/repos/lavv17/lftp/issues/184","id":143261552,"user":{"login":"lavv17","id":965468,"avatar_url":"https://avatars.githubusercontent.com/u/965468?v=3","gravatar_id":"","url":"https://api.github.com/users/lavv17","html_url":"https://github.com/lavv17","followers_url":"https://api.github.com/users/lavv17/followers","following_url":"https://api.github.com/users/lavv17/following{/other_user}","gists_url":"https://api.github.com/users/lavv17/gists{/gist_id}","starred_url":"https://api.github.com/users/lavv17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lavv17/subscriptions","organizations_url":"https://api.github.com/users/lavv17/orgs","repos_url":"https://api.github.com/users/lavv17/repos","events_url":"https://api.github.com/users/lavv17/events{/privacy}","received_events_url":"https://api.github.com/users/lavv17/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T16:01:47Z","updated_at":"2015-09-25T16:01:47Z","body":"It moves the file. The temp file resides in the same directory so it should not be a problem "}}