summaryrefslogtreecommitdiffstats
path: root/ESP8266FtpServer.h
diff options
context:
space:
mode:
authorDavid Paiva <david@nailbuster.com>2017-10-18 15:33:55 +0200
committerGitHub <noreply@github.com>2017-10-18 15:33:55 +0200
commit7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc (patch)
treee1426ace49bc490b5c660d8be1728a81d1e943eb /ESP8266FtpServer.h
parentMerge pull request #1 from lnxbil/patch-1 (diff)
parentAdded ESP32 support (diff)
downloadFTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar.gz
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar.bz2
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar.lz
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar.xz
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.tar.zst
FTPCLientServer-7dfca5a1cb12dbfe5984eb34a87498f965dcdbdc.zip
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
{