I'd be very careful about slurping the entire file into memory ( @1MB = <LOG>;) especially with the 100 & 500MB files. I'd probably use a while loop to iterate through the file and send smaller chunks of data one at a time to the server.
In reply to Re: How can I send more than 1MB to a TCP socket?
by vek
in thread How can I send more than 1MB to a TCP socket?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |