summaryrefslogtreecommitdiffstats
path: root/ESP8266FtpServer.h
diff options
context:
space:
mode:
authorbeegee-tokyo <bernd@giesecke.tk>2017-10-16 09:06:18 +0200
committerbeegee-tokyo <bernd@giesecke.tk>2017-10-16 09:06:18 +0200
commit52cf361f419b9d956ff640af3c28097023e87598 (patch)
treee1426ace49bc490b5c660d8be1728a81d1e943eb /ESP8266FtpServer.h
parentAdded library.json for use with PlatformIO (diff)
downloadFTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar.gz
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar.bz2
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar.lz
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar.xz
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.tar.zst
FTPCLientServer-52cf361f419b9d956ff640af3c28097023e87598.zip
Diffstat (limited to 'ESP8266FtpServer.h')
-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
{