AT Commands for establishing an FTP command


#1

Hi, I am a newbie with WISMO228.
I want to create an FTP connection.
I follow the following commands from the Application note:
AT+WIPCFG = 1
AT+WIPBR = 1, 6
AT+WIPBR = 2, 6, 11,“APN name”
AT+WIPBR = 2, 6, 1,“Username”
AT+WIPBR = 2, 6, 0,“Password”
AT+WIPBR = 4, 6, 0
AT+WIPBR = 3, 6, 15
AT+WIPBR = 3, 2, 2861, 2, 3 --> This command seems wrong. I always get an error even if I change the port number. In the manual it says a different functionality.
AT+WIPBR = 2, 1,"", 21
AT+WIPDATA =2, 1, 2
AT+WIPDATA = 2, 2, 1

I cannot establish an ftp connection. please tell me the correct AT commands.
Also, can I send the data I am reading from a microprocessor flash and forward it to the FTP server directly?

TIA, BR.


#2

Hi,

Seems like a typo.
From the list, it is going to create a TCP server and client socket.
So, we should use AT+WIPCREATE here:

AT+WIPCREATE = 3, 2, 2861, 2, 3
AT+WIPCREATE = 2, 1,"<FTP URL>", 21

For uploading data, I believe it is possible, but you have to use corresponding FTP command.

Hope it helps.
L


#3

Thank you very much! I will try it.