beautypg.com

3 example: configuring and using ftp download, 4 example: configuring and using ftp upload, Tc63 at command set – Siemens TC63 User Manual

Page 251

background image

TC63 AT Command Set

10.2 AT^SISS

s

TC63_ATC_V00.490

Page 251 of 501

5/24/05

Confidential / Draft - Do not copy

10.2.3 Example: Configuring and Using FTP Download

First set up a connection profile as explained in Section

10.1.1

or Section

10.1.2

. Enter at least all parameters

which are mandatory for the connection profile.

Configure the service profile 1 for FTP:

Make an FTP connection:

10.2.4 Example: Configuring and Using FTP Upload

First set up a connection profile as explained in Section

10.1.1

or Section

10.1.2

. Enter at least all parameters

which are mandatory for the connection profile.

Configure the service profile 1 for FTP:

Make an FTP connection:

OK

at^siss=1,address,"socktcp://
10.10.0.187:65534"

The service profile of the client contains the IP

address and the TCP port of the remote host.

OK

at^siss=1,srvType,ftp

Select service type FTP.

OK

at^siss=1,conId,0

Select connection profile 0.

OK

at^siss=1,address,"ftp://
192.168.1.2;type=d"

Specify FTP address with user and password anon-

ymous.

OK

at^siso=1

Open the service.

OK

Bearer is established, service is getting started.

^SISR: 1, 1

Data are available.

at^sisr=1,1500

Request to read 1500 bytes.

^SISR: 1, 50

50 bytes are now available.

hardware

inttest

software

support

systemtest

OK

^SISR: 1, 2

Data transfer finished. No more data available. The

connection to the FTP server is closed.

at^sisc=1

Close the service.

OK

at^siss=1,srvType,ftp

Select service type FTP.

OK

at^siss=1,conId,0

Select connection profile 0.

OK

at^siss=1,address,"ftpput://
myname:[email protected]/upload/exam-
ple.txt"

Specify FTP address with individual user name and

password. The file "example.txt" shall be created on

the FTP server.

OK

at^siso=1

Open the service.

OK

Bearer is established, service is getting started.