Hi all, I want to upload a binary file. I know how and the upload works fine. However, I don't know how many bytes is ok to read at a time.
I've seen in most examples that 1024 bytes number is used like: while ($bytesread=read($filename,$buffer,1024)) { However, I found that when I try to upload a file from localhost to my computer, for testing only, the file uploads very slow if I use 1024. If I use a bigger value like 10240 or 102400 instead, the upload goes faster. Why is it important to use only 1024, and what happends if I use a bigger value? The file won't upload if the connection is too slow? Thank you. Teddy, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]