File buffer changes

This commit is contained in:
mysticbbs 2012-04-02 04:04:24 -04:00
parent 04a9106717
commit eb8cd5aace
1 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,8 @@ Type
Implementation
Const
FileBufSize = 8 * 1024;
FileBufSize = 4 * 1024;
FileXferSize = 32 * 1024;
re_DataOpen = '125 Data connection already open';
re_DataOpening = '150 File status okay; about to open data connection.';
@ -590,7 +591,7 @@ Var
Dir : RecFileList;
Found : LongInt;
F : File;
Buf : Array[1..4096] of Byte;
Buf : Array[1..FileXferSize] of Byte;
Tmp : LongInt;
Res : LongInt;
Begin