{"action":"closed","issue":{"url":"https://api.github.com/repos/curl/curl/issues/1175","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/1175/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/1175/comments","events_url":"https://api.github.com/repos/curl/curl/issues/1175/events","html_url":"https://github.com/curl/curl/issues/1175","id":197526606,"number":1175,"title":"How to up one file to drftpd  (--ftp-pret)   I failed","user":{"login":"makefriend8","id":10958991,"avatar_url":"https://avatars.githubusercontent.com/u/10958991?v=3","gravatar_id":"","url":"https://api.github.com/users/makefriend8","html_url":"https://github.com/makefriend8","followers_url":"https://api.github.com/users/makefriend8/followers","following_url":"https://api.github.com/users/makefriend8/following{/other_user}","gists_url":"https://api.github.com/users/makefriend8/gists{/gist_id}","starred_url":"https://api.github.com/users/makefriend8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makefriend8/subscriptions","organizations_url":"https://api.github.com/users/makefriend8/orgs","repos_url":"https://api.github.com/users/makefriend8/repos","events_url":"https://api.github.com/users/makefriend8/events{/privacy}","received_events_url":"https://api.github.com/users/makefriend8/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T02:44:13Z","updated_at":"2016-12-26T20:50:34Z","closed_at":"2016-12-26T20:50:34Z","body":"curl version 7.51.0\r\noperating system windows 10\r\ncommand curl -T mycc2.txt --ftp-ssl  --insecure --ftp-pret  ftp://myabc:myabc123ABC@192.168.14.1:2121/123/mycc2.txt -v\r\n\r\nFileZilla Client  can successful up this file;  (with \"Allow fall back to other transfer on failure\")\r\n\r\nany error of this curl command?\r\n~~~\r\n*   Trying 192.168.14.1...\r\n* TCP_NODELAY set\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to 192.168.14.1 (192.168.14.1) port 2121 (#0)\r\n< 220 DrFTPD 3.2.0 https://github.com/drftpd-ng/drftpd3\r\n> AUTH SSL\r\n< 234 auth SSL successful\r\n* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH\r\n* TLSv1.2 (OUT), TLS header, Certificate Status (22):\r\n} [5 bytes data]\r\n* TLSv1.2 (OUT), TLS handshake, Client hello (1):\r\n} [512 bytes data]\r\n* TLSv1.2 (IN), TLS handshake, Server hello (2):\r\n{ [81 bytes data]\r\n* TLSv1.2 (IN), TLS handshake, Certificate (11):\r\n{ [326 bytes data]\r\n* TLSv1.2 (IN), TLS handshake, Server key exchange (12):\r\n{ [149 bytes data]\r\n* TLSv1.2 (IN), TLS handshake, Server finished (14):\r\n{ [4 bytes data]\r\n* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):\r\n} [70 bytes data]\r\n* TLSv1.2 (OUT), TLS change cipher, Client hello (1):\r\n} [1 bytes data]\r\n* TLSv1.2 (OUT), TLS handshake, Finished (20):\r\n} [16 bytes data]\r\n* TLSv1.2 (IN), TLS change cipher, Client hello (1):\r\n{ [1 bytes data]\r\n* TLSv1.2 (IN), TLS handshake, Finished (20):\r\n{ [16 bytes data]\r\n* SSL connection using TLSv1.2 / ECDHE-ECDSA-AES128-GCM-SHA256\r\n* Server certificate:\r\n*  subject: CN=drftpd\r\n*  start date: Dec 20 01:15:18 2016 GMT\r\n*  expire date: Mar 20 01:15:18 2017 GMT\r\n*  issuer: CN=drftpd\r\n*  SSL certificate verify result: self signed certificate (18), continuing anyway.\r\n} [5 bytes data]\r\n> USER myabc\r\n{ [5 bytes data]\r\n< 331 Password required for myabc\r\n} [5 bytes data]\r\n> PASS myabc123ABC\r\n{ [5 bytes data]\r\n< 230-\r\n< 230-         Welcome to the future of FXP:ing\r\n< 230-      ___      _____________  ___\r\n< 230-     / _ \\____/ __/_  __/ _ \\/ _ \\\r\n< 230-    / // / __/ _/  / / / ___/ // /\r\n< 230-   /____/_/ /_/   /_/ /_/  /____/\r\n< 230-                   DistRibuted FTP Daemon\r\n< 230-                        http://drftpd.org\r\n< 230-\r\n< 230 user logged in successfully.\r\n} [5 bytes data]\r\n> PBSZ 0\r\n{ [5 bytes data]\r\n< 200 Command okay\r\n} [5 bytes data]\r\n> PROT P\r\n{ [5 bytes data]\r\n< 200 Command okay\r\n} [5 bytes data]\r\n> PWD\r\n{ [5 bytes data]\r\n< 257 \"/\" is current directory\r\n* Entry path is '/'\r\n} [5 bytes data]\r\n> CWD 123\r\n* ftp_perform ends with SECONDARY: 0\r\n{ [5 bytes data]\r\n< 250 Directory changed to /123\r\n} [5 bytes data]\r\n> PRET STOR mycc2.txt\r\n{ [5 bytes data]\r\n< 200 OK, planning for upcoming upload\r\n} [5 bytes data]\r\n> EPSV\r\n* Connect data stream passively\r\n{ [5 bytes data]\r\n< 502 Command not implemented.\r\n* Failed EPSV attempt. Disabling EPSV\r\n} [5 bytes data]\r\n> PASV\r\n{ [5 bytes data]\r\n< 227- Using slave2 for upcoming transfer\r\n< 227 Entering Passive Mode (192,168,14,128,168,193).\r\n*   Trying 192.168.14.128...\r\n* TCP_NODELAY set\r\n* Connecting to 192.168.14.128 (192.168.14.128) port 43201\r\n  0     0    0     0    0     0      0      0 --:--:--  0:00:21 --:--:--     0* connect to 192.168.14.128 port 2121 failed: Timed out\r\n* Failed to connect to 192.168.14.1 port 2121: Timed out\r\n  0     0    0     0    0     0      0      0 --:--:--  0:00:22 --:--:--     0\r\n* Closing connection 0\r\n} [5 bytes data]\r\n* TLSv1.2 (OUT), TLS alert, Client hello (1):\r\n} [2 bytes data]\r\ncurl: (7) Failed to connect to 192.168.14.1 port 2121: Timed out\r\n~~~"}}
{"actor":{"display_login":"jay"}}