Browse Source

Fix typo in example (parameters were mixed) (#2658)

prog1407 5 years ago
parent
commit
30744afd24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/lua-modules/ftpserver.md

+ 1 - 1
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()