File buffer changes
This commit is contained in:
parent
04a9106717
commit
eb8cd5aace
|
@ -76,7 +76,8 @@ Type
|
||||||
Implementation
|
Implementation
|
||||||
|
|
||||||
Const
|
Const
|
||||||
FileBufSize = 8 * 1024;
|
FileBufSize = 4 * 1024;
|
||||||
|
FileXferSize = 32 * 1024;
|
||||||
|
|
||||||
re_DataOpen = '125 Data connection already open';
|
re_DataOpen = '125 Data connection already open';
|
||||||
re_DataOpening = '150 File status okay; about to open data connection.';
|
re_DataOpening = '150 File status okay; about to open data connection.';
|
||||||
|
@ -590,7 +591,7 @@ Var
|
||||||
Dir : RecFileList;
|
Dir : RecFileList;
|
||||||
Found : LongInt;
|
Found : LongInt;
|
||||||
F : File;
|
F : File;
|
||||||
Buf : Array[1..4096] of Byte;
|
Buf : Array[1..FileXferSize] of Byte;
|
||||||
Tmp : LongInt;
|
Tmp : LongInt;
|
||||||
Res : LongInt;
|
Res : LongInt;
|
||||||
Begin
|
Begin
|
||||||
|
|
Loading…
Reference in New Issue