What is the maximum file size I can transfer using HTTP? And using FTP?

前端 未结 7 837
面向向阳花
面向向阳花 2020-12-15 17:34

Added: I am conducting a study for a new system we\'re going to develop in my work. It consists in authenticating users, displaying what files they want to

相关标签:
7条回答
  • 2020-12-15 18:16

    For TCP protocol, you have sequence number from 0 to 2^32-1. Suppose worst case when you increase sequence by 1 for each byte. Now maximum file size is 4GB. And you have a 1GBps connection. All sequence finish in 4sec which is wrap around time. If TTL is greater than wrap around time so we can't reuse sequence so maximum file size is 4GB.

    But Magic is in TCP Options, in options we can add a timestamp. Now Problem solved even if we get with same source and same destination same sequence number but we have different timestamp to identify.

    0 讨论(0)
提交回复
热议问题