Home  >  Article  >  Backend Development  >  Upload very large files via FTP

Upload very large files via FTP

WBOY
WBOYOriginal
2016-12-01 00:25:233354browse

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?

Reply content:

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn