-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad PASV Answer #28
Comments
try to install a FTP Client like FileZilla, enabled the detailed log and inspect how your server behaves. |
If this Lib is for using ESP32 as Client, why I should use FileZilla? I used Finder, Cyberduck, NimbleCommander and VSCode (on MacOS) and works ok, no errors using this clients. But I want to use ESP32 this is why I tried the Arduino ESP32_FTPClient and I get no working connection when I use ESP32 with ESP32_FTPClient. At least it outputs some Errors - but this is not detailed enough? I really don't get your question. |
I didn't write a question, my comment earlier was a suggestion aiming to help you to understand how your server behaves. After knowing how your server behaves, you can work on implementing the solution for it. If you search for the keyword "Offline" under issues, you will find few other users mentioned different problems and different solutions. The library is intended to run on a less powerfull CPU then compared to your PC, it also have a lot less resources and features, it is not comparable. |
in FileZilla I get on PASV this response:
What is bad in this response? |
It does not seem to be a bad answer, but in order to replicate the problem I would recommend manual sending all the commands included on the ESP32 log shared earlier. |
ok, I found 'one' solution: |
Hi Idab, I keep the current workingDirPath in a static and call openConnectionAndChangeWorkingDir () right before each InitFile() call.
|
I use the example, filled with correct adresses and passwords, changed the ChangeWorkDir from "/public_html/zyro/gallery_gen/" to "/Dokumente" (what is already there) and replaced the 'ContentList' with the 'ContentListWithListCommand'..
I don't know.. it just doesn't work. I tried for hours..
here is the code (without Wifi and ftp data)
then i get this Serial Output:
I don't know why the second PASV is bad. I am a bit desperate, there is no alternate Arduino-FTP but this one does not work at all for me (I tried 2 different boards, but have only this one server on my Fritz.Box Router).. Should I try something else? SSH?
The text was updated successfully, but these errors were encountered: