* About to connect() to proxy "MY_SOCKS_PROXY" port 1081 (#0) * Trying "MY_SOCKS_PROXY"... connected * Connected to "MY_SOCKS_PROXY" ("MY_SOCKS_PROXY") port 1081 (#0) * FTP 0x8187148 state change from STOP to WAIT220 < 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- < 220-You are user number 1 of 30 allowed. < 220-Local time is now 16:47. Server port: 21. < 220-This is a private system - No anonymous login < 220 You will be disconnected after 15 minutes of inactivity. > USER user * FTP 0x8187148 state change from WAIT220 to USER < 331 User user OK. Password required > PASS passwd * FTP 0x8187148 state change from USER to PASS < 230-User user has group access to: gport svn < 230 OK. Current restricted directory is / > PWD * FTP 0x8187148 state change from PASS to PWD < 257 "/" is your current location * Entry path is '/' * FTP 0x8187148 state change from PWD to STOP * protocol connect phase DONE * DO phase starts > CWD curl * FTP 0x8187148 state change from STOP to CWD < 250 OK. Current directory is /curl > EPSV * FTP 0x8187148 state change from CWD to PASV * Connect data stream passively < 229 Extended Passive mode OK (|||37048|) * Trying "MY_SOCKS_PROXY"... connected * Connecting to "MY_FTP_SERVER" ("MY_SOCKS_PROXY") port 1081 * FTP 0x8187148 state change from PASV to STOP * DO phase is complete * DO-MORE phase starts > TYPE A * FTP 0x8187148 state change from STOP to LIST_TYPE < 200 TYPE is now ASCII > LIST * FTP 0x8187148 state change from LIST_TYPE to LIST < 150 Accepted data connection * Maxdownload = -1 * FTP 0x8187148 state change from LIST to STOP * DO-MORE phase ends with 0 * Pre readwrite setting chunky header values to default * Read 185 bytes from stream (readrc = 0) drwxr-xr-x 5 user gport 4096 Jun 27 14:08 CURL -rw-r--r-- 1 user gport 0 May 30 17:43 ftp -rw-r--r-- 1 user gport 10661 Jun 8 14:01 test * Read 0 bytes from stream (readrc = 0) * nread <= 0, server closed connection, bailing * Remembering we are in dir curl/ < 226-Options: -l < 226 3 matches total * Connection #0 to host "MY_FTP_SERVER" left intact > QUIT * FTP 0x8187148 state change from STOP to QUIT < 221-Goodbye. You uploaded 0 and downloaded 0 kbytes. < 221 Logout. * FTP 0x8187148 state change from QUIT to STOP * Closing connection #0