summaryrefslogtreecommitdiffstats
path: root/ESP8266FtpServer.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ESP8266FtpServer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ESP8266FtpServer.h b/ESP8266FtpServer.h
index 87529ad..877ad24 100644
--- a/ESP8266FtpServer.h
+++ b/ESP8266FtpServer.h
@@ -44,7 +44,8 @@
#define FTP_CMD_SIZE 255 + 8 // max size of a command
#define FTP_CWD_SIZE 255 + 8 // max size of a directory name
#define FTP_FIL_SIZE 255 // max size of a file name
-#define FTP_BUF_SIZE 1024 //512 // size of file buffer for read/write
+// #define FTP_BUF_SIZE 1024 //512 // size of file buffer for read/write
+#define FTP_BUF_SIZE 2*1460 //512 // size of file buffer for read/write
class FtpServer
{