katesfb:
Attempt to open a TCP connection to the ftp server on port 80 with the correct APN, username and password using the relavant AT commands.
Once a connection is made attempt to open an FTP session on port 21 with the correct APN, username and password (same as above) using the relavent AT comands.
Does this seem like the right aproach or am i way off here.
That doesn't sound anything like FTP. Why is port 80 involved at all? Are you trying to use active or passive mode FTP, what sequence of commands are you sending and what responses are you receiving? You can't simply open a couple of sockets, there is far more to it than that. Additionally, FTP inherently requires two concurrent socket connections and you need to confirm that your communication device supports that.