diff --git a/docs/lua-modules/ftpserver.md b/docs/lua-modules/ftpserver.md index c23fab35..423ee48b 100644 --- a/docs/lua-modules/ftpserver.md +++ b/docs/lua-modules/ftpserver.md @@ -67,7 +67,7 @@ Wrapper to createServer() which also connects to the WiFi channel. #### Example ```Lua -require("ftpserver").open('myWifi', 'wifiPassword', 'user', 'password') +require("ftpserver").open('user', 'password', 'myWifi', 'wifiPassword') ``` ## close()