![如何修复中止的 FTP 连接](https://linux22.com/image/1578946/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E4%B8%AD%E6%AD%A2%E7%9A%84%20FTP%20%E8%BF%9E%E6%8E%A5.png)
我正在尝试将一个相当大的文件 (1.7 GB) 上传到我的 FTP 服务器。只有一个问题:每次我达到 44% 时,连接就会关闭,重新连接,然后从 0% 重新开始。
有人知道如何解决这个问题吗?这真的让我很高兴。
错误如下:
Status: Resolving address of '''''''''''''''
Status: Connecting to '''.'''.''.''':''...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Starting upload of ''''''''''''''''''
Status: Connection closed by server
Command: CWD '''''''''
Response: 250 CWD command successful
Command: PWD
Response: 257 "'''''''''" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PASV
Response: 227 Entering Passive Mode (''',''','',''',''',''').
Command: STOR ''''''''''''
Response: 150 Opening BINARY mode data connection for ''''''''''''
Error: Transfer connection interrupted: ECONNABORTED - Connection aborted
Error: Connection timed out after 20 seconds of inactivity
Error: File transfer failed after transferring 1.020.526.592 bytes in 1313 seconds
Status: Disconnected from server
“”是敏感信息,但实际上看起来并不像那样。
注意:我自己没有使用过 ftp 服务器或其他东西,我使用来自我的网络主机的 ftp 服务器。不知道这是否重要,但我最好说出来。