# AT Commands for establishing an FTP command

**URL:** <https://forum.sierrawireless.com/t/at-commands-for-establishing-an-ftp-command/5446>\
**Category:** Open AT\
**Created:** [February 10, 2012, 5:45am UTC](https://forum.sierrawireless.com/t/at-commands-for-establishing-an-ftp-command/5446 "2012-02-10T05:45:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristopherlubay](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cristopherlubay](https://forum.sierrawireless.com/u/cristopherlubay)\
**Post date:** [February 10, 2012, 5:45am UTC](https://forum.sierrawireless.com/t/at-commands-for-establishing-an-ftp-command/5446/1 "2012-02-10T05:45:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.sierrawireless.com/u/lotam)\
**Post date:** [February 10, 2012, 6:17am UTC](https://forum.sierrawireless.com/t/at-commands-for-establishing-an-ftp-command/5446/2 "2012-02-10T06:17:46Z")

</div>

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:

```auto
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

---

<div class="post-metadata">

**Author:** ![cristopherlubay](https://avatars.discourse-cdn.com/v4/letter/c/97f17d/32.png) [@cristopherlubay](https://forum.sierrawireless.com/u/cristopherlubay)\
**Post date:** [February 10, 2012, 6:31am UTC](https://forum.sierrawireless.com/t/at-commands-for-establishing-an-ftp-command/5446/3 "2012-02-10T06:31:05Z")

</div>

Thank you very much! I will try it.
