litham
Newbie level 6
Hi all,
I try to send data with FTP command over AT commands,
After CONECT OK, setting remot USER and PASS. I switch into passive mode with PASV.
But
After creating file with APPE comnd, and insering lines into it, the file still empty!!
okey,
How can I use the STOR commands to send data. how to specify the local file path?
I find the files, but theyr are empty, any idea ?
thanks in advance
best regards
I try to send data with FTP command over AT commands,
After CONECT OK, setting remot USER and PASS. I switch into passive mode with PASV.
But
After creating file with APPE comnd, and insering lines into it, the file still empty!!
okey,
How can I use the STOR commands to send data. how to specify the local file path?
Code:
at+cipstatus
OK
STATE: IP CLOSE
at+cipshut
SHUT OK
at+cstt
OK
at+ciicr
OK
at+cifsr
10.230.83.160
at+cipstart="tcp","XXX.XXX.XXX.XXX","21"
OK
220 (vsFTPd 2.0.1)
CONNECT OK
at+cipsend
> USER *******
SEND OK
331 Please specify the password.
at+cipsend
> pass *******
SEND OK
230 Login successful.
at+cipsend
> pwd
SEND OK
257 "/"
at+cipsend
> PASV
SEND OK
227 Entering Passive Mode (XXX,XXX,XXX,XX,XX,XX)
at+cipsend
> APPE filetext
SEND OK
at+cipsend
> zehfzkjlehf
SEND OK
at+cipsend
> PASV
SEND OK
AT+CIPSEND
> APPE HOLA
SEND OK
425 Failed to establish connection.
500 Unknown command.
A425 Use PORT or PASV first.
AT+CIPSEND
> PASV
SEND OK
227 Entering Passive Mode (XXX,XXX,XXX,XXX,XXX,XXX)
AT+CIPSEND
> APPE JOLA
SEND OK
500 Unknown command.
AT+CIPSEND
> APPE ASAS
SEND OK
AT+CIPSEND
> EFHZEJFH
SEND OK
AT+CIPSEND
> ABOR
SEND OK
thanks in advance
best regards