summaryrefslogtreecommitdiffstats
path: root/examples/FTPClientSample
diff options
context:
space:
mode:
authorDaniel Plasa <dplasa@gmail.com>2020-07-06 00:32:19 +0200
committerDaniel Plasa <dplasa@gmail.com>2020-07-06 00:32:19 +0200
commit85cd2902772ec0fd7738363d4c2ae0bd42b57475 (patch)
treecf7c71e96f585542c6197178fdbbd791f4bf6d61 /examples/FTPClientSample
parentfix issue when FS is out of space when overwriting large files (diff)
downloadFTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.gz
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.bz2
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.lz
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.xz
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.tar.zst
FTPCLientServer-85cd2902772ec0fd7738363d4c2ae0bd42b57475.zip
Diffstat (limited to 'examples/FTPClientSample')
-rw-r--r--examples/FTPClientSample/FTPClientSample.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/FTPClientSample/FTPClientSample.ino b/examples/FTPClientSample/FTPClientSample.ino
index c456d11..407a798 100644
--- a/examples/FTPClientSample/FTPClientSample.ino
+++ b/examples/FTPClientSample/FTPClientSample.ino
@@ -35,7 +35,7 @@ void setup(void)
WiFi.begin(ssid, password);
bool fsok = LittleFS.begin();
- Serial.printf_P(PSTR("FS init: %S\n"), fsok ? PSTR("ok") : PSTR("fail!"));
+ Serial.printf_P(PSTR("FS init: %s\n"), fsok ? PSTR("ok") : PSTR("fail!"));
// Wait for connection
while (WiFi.status() != WL_CONNECTED)
@@ -43,7 +43,7 @@ void setup(void)
delay(500);
Serial.printf_P(PSTR("."));
}
- Serial.printf_P(PSTR("\nConnected to %S, IP address is %s\n"), ssid, WiFi.localIP().toString().c_str());
+ Serial.printf_P(PSTR("\nConnected to %s, IP address is %s\n"), ssid, WiFi.localIP().toString().c_str());
ftpClient.begin(ftpServerInfo);
}