Rob, thanks for your answer. I have already tried different values of IOBufSize (ranging from 2000 to 8000000) but it did not have any impact on the file upload speed. Since ns_conncptofp corresponds to NsTclWriteContentCmd (C API) which calls Ns_ConnCopyToChannel which calls ConnCopy, which calls NsGetBuf, I would expect that a big value of IOBufSize (e.g. 64000 or more) would greatly speed file uploads; however, this does not happen! In fact, it takes 31 seconds to upload a 2346 Kbytes file when IOBufSize is 2000; it takes 30 seconds to upload the same file when IOBufSize is anywhere between 16000 to 8000000. Note that all testing is done on my internal 100Mb/sec network where copying the same file to the server (using samba or ftp) is almost instantaneous! (less than 1 second)
Any ideas? Thank you, Simos.
