Just looking at various ways of ftp'ing a file in c#. I noticed some examples do:
streamReader.ReadToEnd()
then convert to bytes, then send the file in one go.
while others do a:
while (contentLength != 0)
stream.write(buff, 0, contentLength);
contentLength = fileStream.Read(buff, 0, buffLength);
Is sending the file 2048 at a time for larger files, while the other method is fine for files in the 10-50K range?