Home >Backend Development >PHP Tutorial >Upload very large files via FTP
Upload a very large file through ftp, maybe 7G, it is compressed, but it cannot be transferred if it is 1G. The error reported is
<code>[2016/11/30 11:32:12] Can't write to data socket. Socket error = #10054. [2016/11/30 11:32:12] 451 Failure writing to local file. </code>
It doesn’t work even if the server is restarted. Has anyone encountered this problem?
Upload a very large file through ftp, maybe 7G, it is compressed, but it cannot be transferred if it is 1G. The error reported is
<code>[2016/11/30 11:32:12] Can't write to data socket. Socket error = #10054. [2016/11/30 11:32:12] 451 Failure writing to local file. </code>
It doesn’t work even if the server is restarted. Has anyone encountered this problem?
Is it a bug in the FTP software, or it does not support files exceeding 2G, or the file system does not support large files. Or the file is occupied by other programs. It is recommended to transfer in chunks
It is best to transfer large files between servers, the speed is more than ten megabytes per second, the speed is gratifying
If it cannot be uploaded, split it into small files, such as three to five hundred megabytes. , it will take a long time to spread.
I think personal computers are not suitable for transferring such large files.