-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Using the ftpc client #9059
Comments
Hi @xiaotailang BTW, I think there are some issues with NuttX FTPC:
Please see attached my ESP32 board configuration. |
Hi@alancassis |
You are welcome @xiaotailang |
Hi@alancassis problem as follows: |
These should not be exposed to userspace, I would consider this a bug in the client. Instead this timeout logic should be reimplemented using something like posix timers. |
Hi@btashton |
@xiaotailang now to know you get it working at least on FLAT mode. I forgot to ask: which microcontroller and board are you using? |
@acassis My MCU is stm32f767 |
Hello everyone !
After compiling the FTP client program ftpc on a NuttX system and burning it onto a board, I set up an FTP server on a PC and attempted to connect to it from the board. After successfully logging in to the server, every time I entered the 'ls' command, I received an error. Upon debugging, I found that fopen was returning error code 22, which indicates that the file does not exist or the permissions are insufficient. However, I confirmed that the folder exists and has read/write permissions because I tested the 'put' and 'get' commands and was able to upload and download files successfully. Your team's extensive development experience is greatly appreciated - can you offer any suggestions for this issue?
error as follows:
ftpc_listdir: ERROR: Failed to create ftptest/TMP10.dat: 22
nfc> ls failed: 22
pwd
fptc_getreply: Reply: 257 "/home" is the current directory
nfc> PWD: /home"
cd ftptest
fptc_getreply: Reply: 250 Directory successfully changed.
fptc_getreply: Reply: 257 "/home/ftptest" is the current directory
pwd
fptc_getreply: Reply: 257 "/home/ftptest" is the current directory
nfc> nfc> PWD: /home/ftptest"
ls
ftpc_listdir: ERROR: Failed to create ftptest/TMP10.dat: 22
nfc> ls failed: 22
ls
ftpc_listdir: ERROR: Failed to create ftptest/TMP10.dat: 22
nfc> ls failed: 22
The text was updated successfully, but these errors were encountered: