Hi,

I am using the FTPOpenFile and InternetReadFile API calls for FTPing a file across a network. What would be the optimum size for the string I declare to be the buffer? Does it vary or is something like 4096 a good size?

I ask because it does seem that this generic FTP class I have is a bit slower at FTPing files than an actual FTP control. And if you are wondering why I am not using an FTP control, it is a long story but basically, I can not add any OCXs or DLLs to the existing system so I decided to use the API.

Thanks in advance.
Matt