Most people seem to choose a read size of 256 or 1024, but
I never really knew why. As part of my effort to implement
seek for FTP in a
I figure I might just do a huge 4 megabyte read from my ftp
server before passing back the filehandle to emulate a seek
command, since you cannot seek on a filehandle returned from
. But if necessary, I will do several
small reads and throw-away the results until I get to the
desired offset position.