FTP with the RN-131C Wifly sheild

We wish to FTP a file (about 11M) on an SD card back to the server using the Wifly shield and Arduino Uno.

What we have done so far is configure the ftp setting on the RN-131 so they access the network and server.

The problem, we can only get this to work in command mode.

Basically enter command mode manually, it creates a file and what is typed is placed in the file. So far so good right.

  1. How do I enter command mode from a script?

As we do not have access to the file storage on the unit itself, the data must be pulled off the SD card and feed to the RN-131 during the ftp transfer. With limited buffer size, this means switching back and forth between the SD card and the Wifly as communication to both is using SPI.

  1. will we encounter any major problems by doing this?

  2. has any one worked with the ftp commands on this unit, feedback welcome?

  3. Should I do this a different way?

Background

GPS and other data is collected duing the day and stored on the SD card, when refueling the truck, we have a wifi network access at this location, we want to dump the data, in less than 5 -10 minutes (time taken to refuel).

Thanks