7 configuring and using ftp upload (urc mode), 8 configuring smpt service profile – Siemens AC75 User Manual

Page 301

Advertising
background image

AC75 AT Command Set

10.14 Examples of how to Configure and Use Internet Service Profiles

s

AC75_ATC_V01.002

Page 301 of 569

10/30/06

Confidential / Released

10.14.7

Configuring and Using FTP Upload (URC Mode)

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.14.8

Configuring SMPT Service Profile

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 a CSD or GPRS profile. The example uses the connection profile ID 1 and the service

profile ID 9.

^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.bin;type=i"

Specify FTP address with individual user name and

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

the FTP server.

OK

at^siso=1

Open the service.

OK

Bearer is established, service is getting started.

^SISW: 1, 1

FTP service is ready for upload.

at^sisw=1,100

Client requests to send 100 bytes.

^SISW: 1,100,100

The write command response confirms that 100

bytes must be transferred now.

0123456789012345678901234567890123456789012
3456789012345678901234567890123456789012345
67890123456789

User data is transferred.

OK

^SISW: 1, 1

URC indicates that the FTP service is ready to trans-

fer more data. Data of the last

AT^SISW

command is

transferred to the remote host.

at^sisw=1,0,1

No more data available. The file "example.bin" shall

be closed on the FTP server.

OK

^SISW: 1, 2

Data transfer finished successfully. The connection

to the FTP server is closed.

at^sisc=1

Close the FTP service.

at^siss=9,srvType,"Smtp"

Select service type SMTP.

OK

Advertising