Products
SMS
Ozeki NG SMS Gateway
Message Server 6
On-line manual
Introduction
SMS technology
MMS technology
About
Product features
Installation guide
User guide
Developers guide
General information
Languages
C++ SMS
SQL SMS
HTTP SMS
Files SMS
File formats
Java SMS
PHP SMS
ASP SMS
Delphi SMS
C# SMS
Access SMS
SMS FAQ
Case studies
Appendix
Download
Home
Support
How to buy
SMS Wall
IP SMS Gateway
Android SMS
Excel SMS
Ozeki Dialer
Ozeki Cluster
Developer tools
Robots
Hardware
Ozeki 10
Technology
Company


On-line manual:
  Explore all the features in this On-line HTML documentation of Ozeki Message Server 6.

Product guide:
  Download Ozeki Message Server 6 Manual in PDF format. This PDF guide explains all the features of Ozeki Message Server 6.
Ozeki Message Server 6
HTTP SMS HTTP SMS | File formats File formats

Send SMS messages using text files

OZEKI Message Server empowers you to send and receive SMS from a personal computer through a GSM device attached to the computer or by using an IP SMS connection. The sending task could be performed by placing txt files into a certain directory. Receiving can be done by reading txt files from another directory in the file system.

If you want to send and receive SMS this way, you should configure the OZEKI SMS Server to place the incoming messages into the selected directory and to check another directory periodically for messages to send. The directory we use for receiving messages is called the incoming directory, the one we use for sending messages is called the outgoing directory. 

The installation and configuration instructions for this functionality can be found on the following page: File Plugin Installation

When the directory settings are configured, an appropriate txt file format should be selected. Ozeki Message Server supports three kinds of file formats. You should select the one that  fits your needs the most.  You can read about the file formats on the file format information page.

Sending an SMS

To perform sending 3 directories are used:

1.) C:/smsout/ - the outgoing directory
2.) C:/smssent/ - the directory that holds the messages that were successfully sent
3.) C:/smsfailed/ - the directory that holds the messages that could not be sent.

To send an SMS first you should create a "lock" file in the outgoing directory. A lock file is used to make sure Ozeki Message Server will not start to read the real file containing the messages while the file is still beeing written. The lock file is an empty file, that has a name that matches the real file. The lock file name has a special extension: .lock. After the lock file is created you can edit the real file containing the outgoing message text. When you are finished simply delete the lock file.

Step 1.)
Create: C:/smsout/mysms.sml.lock

Step 2.)
Create: C:/smsout/mysms.sml
Write : C:/smsout/mysms.sml

Step 3.)
Delete: C:/smsout/mysms.sml.lock

After you have created your file, you need to wait. Ozeki Message Server will delete your file, and will try to send the messages. When the sending is done a text file will be placed into the smssent or the smsfailed directory based on the sending results using the same locking steps.

Please take a look at the following diagram:

Figure 1 - Sending an SMS using the file plugin


Copyright © 2000- - Ozeki Informatics Ltd. | info@ozeki.hu | Tel: +36 1 371 0150
Home > Products > SMS > Message Server 6 > On-line manual > Developers guide > Languages > Files SMS
Page: 569