Forum Replies Created
-
AuthorPosts
-
Using ESP32 DevkitV1 with Micro SD card
using
https://github.com/xreef/SimpleFTPServer/blob/master/examples/Arduino_esp32_SD/Arduino_esp32_SD.inoModify FtpServerKey.h file
#define DEFAULT_STORAGE_TYPE_ESP32 STORAGE_SDmodify Arduino code:
–> change ssid & password
–>and below code
SPI.begin(18, 19, 23, 5); //SCK, MISO, MOSI,SS
if (SD.begin(5, SPI)) {OK for:
–>show SD card all folder and file
–>Download file from ESP32 FTP Server(SD Card) is OKProblem:Upload to ESP32 FTP Server not possible.
Using FileZilla Client (i also use other FTP Client software WinSCP)
FileZilla Client config:
Protocol:FTP
Host:192.168.0.101 Port:21
Encryption:only use plain FTP(insecure)
Login Type:Normal
User:My ESP32 FTP server user
Password:My ESP32 FTP server passwordError for Upload:
Status: Connecting to 192.168.0.101:21…
Status: Connection established, waiting for welcome message…
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Retrieving directory listing…
Status: Directory listing of “/” successful
Status: Starting upload of D:\test1.txt
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (192,168,0,101,195,89)
Command: STOR test1.txt
Error: Disconnected from server: ECONNABORTED – Connection aborted
Error: File transfer failed
Status: Connecting to 192.168.0.101:21…
Status: Connection established, waiting for welcome message…
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Starting upload of D:\test1.txt
Status: Retrieving directory listing of “/”…
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (192,168,0,101,195,89)
Command: MLSD
Response: 150 Accepted data connection to port 50009
Response: 226-options: -a -l
Response: 226 5 matches total
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (192,168,0,101,195,89)
Command: STOR test1.txt
Error: Disconnected from server: ECONNABORTED – Connection aborted
Error: File transfer failed
Status: Connecting to 192.168.0.101:21…
Status: Connection established, waiting for welcome message…
Status: Plain FTP is insecure. Please switch to FTP over TLS.
Status: Logged in
Status: Starting upload of D:\test1.txt
Status: Retrieving directory listing of “/”…
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (192,168,0,101,195,89)
Command: MLSD
Response: 150 Accepted data connection to port 50009
Response: 226-options: -a -l
Response: 226 5 matches total
Command: TYPE A
Response: 200 TYPE is now ASCII
Command: PASV
Response: 227 Entering Passive Mode (192,168,0,101,195,89)
Command: STOR test1.txt
Error: Connection timed out after 20 seconds of inactivity
Error: File transfer failedCan you help me. 6 day lot of thing try but not work. 🙁
-
AuthorPosts