iPocket232 User Guide Appendix F: MCC
23-CML000293 iPocket232 Inc. F-10
Using the FTP/HTTP Client
The iPocket232 modem supports an FTP and HTTP client through the use of
proprietary extended AT commands. FTP is defined in RFC959 and HTTP is
defined in RFC2616 (available at http://www.rfc-editor.org/).
Configuration
You must configure the iPocket232 Ethernet (IP Address, Subnet Mask,
Gateway) or PPP Dial-up settings (Modem Dial, Login Userid, Modem Chatscript).
You also need to configure the Serial Port settings (Protocol, Port Speed,
Connection Control), and set Connection Control to Modem.
N
OTE
: To initiate a file upload, the extended AT command uses the same standard
URL format used for FTP in Web browsers.
Extended FTP AT Commands
Table F.5: FTP Commands
FTP PUT /
HTTP PUT
Upload from
iPocket232
modem to an FTP
or HTTP server.
string =
ftp://[userid[:password]@]ipadr[:port]/path/file.ext
FTP GET /
HTTP GET
Download from an
FTP or HTTP
server to the
iPocket232 modem.
string =
ftp://[userid[:password]@]ipadr[:port]/path/file.ext
FTP / HTTP Transfers
The "userid", "password", and "port" fields can all be omitted; default values of
"anonymous", and "21" (FTP) or “80” (HTTP) are used.
When the DTE device gets a CONNECT result, it streams data to the serial port and the iPocket232
modem will send that data as an FTP or HTTP file transfer to the server.