Closed biii-tech closed 3 years ago
Do you give me more information??
Tried your example project, as it is, no modification, besides configuration change. and tried this https://github.com/ldab/ESP32_FTPClient/blob/master/examples/download_file/download_file.ino
same wifi ssid/pass => wifi connects fine in both same ftp URL,user,pass => "speedtest.tele2.net" with and without "ftp://"
server connects fine with arduino, but with your code I get "E (19939) FTP: FTP server connect fail" error
I have added IP address resolution by hostname. Try latest.
I (2188) FTP: ftp server:speedtest.tele2.net
I (2188) FTP: ftp user :anonymous
I (3358) FTP: connect=1
I (3818) FTP: login=1
I (4858) FTP: -rw-r--r-- 1 0 0 1073741824000 Feb 19 2016 1000GB.zip
I (4858) FTP: -rw-r--r-- 1 0 0 107374182400 Feb 19 2016 100GB.zip
I (4868) FTP: -rw-r--r-- 1 0 0 102400 Feb 19 2016 100KB.zip
I (4868) FTP: -rw-r--r-- 1 0 0 104857600 Feb 19 2016 100MB.zip
I (4878) FTP: -rw-r--r-- 1 0 0 10737418240 Feb 19 2016 10GB.zip
I (4888) FTP: -rw-r--r-- 1 0 0 10485760 Feb 19 2016 10MB.zip
I (4898) FTP: -rw-r--r-- 1 0 0 1073741824 Feb 19 2016 1GB.zip
I (4908) FTP: -rw-r--r-- 1 0 0 1024 Feb 19 2016 1KB.zip
I (4908) FTP: -rw-r--r-- 1 0 0 1048576 Feb 19 2016 1MB.zip
I (4918) FTP: -rw-r--r-- 1 0 0 209715200 Feb 19 2016 200MB.zip
I (4928) FTP: -rw-r--r-- 1 0 0 20971520 Feb 19 2016 20MB.zip
I (4938) FTP: -rw-r--r-- 1 0 0 2097152 Feb 19 2016 2MB.zip
I (4948) FTP: -rw-r--r-- 1 0 0 3145728 Feb 19 2016 3MB.zip
I (4948) FTP: -rw-r--r-- 1 0 0 524288000 Feb 19 2016 500MB.zip
I (4958) FTP: -rw-r--r-- 1 0 0 52428800 Feb 19 2016 50MB.zip
I (4968) FTP: -rw-r--r-- 1 0 0 524288 Feb 19 2016 512KB.zip
I (4978) FTP: -rw-r--r-- 1 0 0 5242880 Feb 19 2016 5MB.zip
I (4988) FTP: drwxr-xr-x 2 105 108 561152 Feb 14 07:29 upload
working fine now Many Thanks!
Not able to connect to FTP server with provided code while I was able to connect to the same server using Arduino FtpClient library