sanshengshui commented on issue #29: URL: https://github.com/apache/mina-ftpserver/issues/29#issuecomment-1782222408
I made a preliminary determination that curl went to epsv mode by default. The curl command is as follows: ``` ➜ ~ curl --ftp-pasv -u 02982C3LaV:TjTv7Swb -O ftp://f1.iot17.com:8183/1698304726c2bcfc8265c.tar.gz -v % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 198.19.10.106:8183... * Connected to f1.iot17.com (198.19.10.106) port 8183 (#0) 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0< 220 Service ready for new user. > USER 02982C3LaV 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0< 331 User name okay, need password for 02982C3LaV. > PASS TjTv7Swb < 230 User logged in, proceed. > PWD < 257 "/" is current directory. * Entry path is '/' * Request has same path as previous transfer > EPSV * Connect data stream passively * ftp_perform ends with SECONDARY: 0 < 229 Entering Passive Mode (|||13017|) * Trying 198.19.10.106:13017... * Connecting to 198.19.10.106 (198.19.10.106) port 13017 * Connected to f1.iot17.com (198.19.10.106) port 8183 (#0) > TYPE I < 200 Command TYPE okay. > SIZE 1698304726c2bcfc8265c.tar.gz < 213 16483570 > RETR 1698304726c2bcfc8265c.tar.gz 0 15.7M 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0< 150 File status okay; about to open data connection. * Maxdownload = -1 * Getting file with size: 16483570 0 15.7M 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0{ [0 bytes data] * transfer closed with 16483570 bytes remaining to read 0 15.7M 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0 * Closing connection 0 curl: (18) transfer closed with 16483570 bytes remaining to read ``` When I use wget, pasv mode works fine -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org