FTP protocol fits in this situation better, and you can use some module like Net::FTP. You don't even need to worry about the chunks, as that module would handle this for you.
Checked FTP spec, therbtwo is rightBut FTP does not resolve one thing... If your connection is unstable, you may lost connection half way, with the nature of FTP protocol, you have to restart from the very begining. If this is a real problem in your environment, then chunk it yourself, and establish your own little protocol to restart from where it is broken. (I am not talking about the resending done by TCP, that's a totally different level.)
In reply to Re: How can I send more than 1MB to a TCP socket?
by pg
in thread How can I send more than 1MB to a TCP socket?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |