我正在尝试使用 ftp 上传 250 gb 文件...我正在使用 ssh 通道进行校验和控制...
得到这个错误:
curl -v -m 240 --disable-epsv --ftp-skip-pasv-ip --quote "TYPE I" -T 28.tar ftp://ftpkxxx:xxx@213.65.123.123/2012/12/
[root@tester /opt/tester/output]# ./send-logs-to-194.sh
* About to connect() to 213.65.123.123 port 21 (#0)
* Trying 213.65.123.123... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0connected
* Connected to 213.65.123.123 (213.65.123.123) port 21 (#0)
< 220 (vsFTPd 2.2.2)
> USER ftpkxxx
< 331 Please specify the password.
> PASS xxx
< 230 Login successful.
> PWD
< 257 "/str1/tester_data_backup"
* Entry path is '/str1/tester_data_backup'
> TYPE I
< 200 Switching to Binary mode.
> CWD 2012
< 250 Directory successfully changed.
> CWD 12
< 250 Directory successfully changed.
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (217,65,190,194,29,15).
* Skips 213.65.123.123 for data connection, uses 213.65.123.123 instead
* Trying 213.65.123.123... connected
* Connecting to 213.65.123.123 (213.65.123.123) port 7439
> TYPE I
< 200 Switching to Binary mode.
> STOR 28.tar
< 150 Ok to send data.
} [data not shown]
9 250G 0 0 9 22.7G 0 97.3M 0:43:55 0:03:59 0:39:56 102M* Operation timed out after 240000 milliseconds with 24514592768 bytes received
9 250G 0 0 9 22.8G 0 97.4M 0:43:54 0:03:59 0:39:55 102M* Closing connection #0
curl: (28) Operation timed out after 240000 milliseconds with 24514592768 bytes received
我更喜欢 ftp 而不是 scp,因为它比 scp 快...用 ftp 和校验和上传 250gb 文件的正确方法是什么?