CHAPTER 5 File Management
Mediant 800 SBC | SNMP Reference Guide
5
File Management
SNMP supports file download, upload, and removal.
Downloading a File to the Device
The file URL is set in the appropriate MIB object under the acSysHTTPClient subtree (refer to
the subtree objects description for the URL form). The download can be scheduled using the
acSysHTTPClientAutoUpdatePredefinedTime
and
acSysHTTPClientAutoUpdateFrequency
objects. It can also be a manual process using acSysActionSetAutoUpdate. In this case (only)
and as long as one URL is set at a time, the result can be viewed in acSysAc-
tionSetAutoUpdateActionResult. In both cases, the acHTTPDownloadResult trap is sent,
indicating the success or failure of the process.
acSysActionSetActionId can be set to any value and can be used to indicate an action
performed by a certain manager.
A successful process also ends with the file name in the appropriate object under the acSysFile
subtree or in the acCASFileTable or the acAuxiliaryFiles subtree, along with the URL being
erased from the object under the acSysHTTPClient subtree.
●
The action result (both in the acSysActionSetAutoUpdateActionResult object and
acHTTPDownloadResult trap) for the Voice Prompt and XML indicates only that
the file reached the device and has no indication on the application’s ability to parse
the file.
●
The action result in acSysActionSetAutoUpdateActionResult is reliable as long as
only one file is downloaded at a time.
Uploading and Deleting a File
File upload is the procedure of sending a file from the device to the manager. Deleting a file is
erasing it from the device, an offline action that requires a reset for it to be applied. The
acSysUpload subtree holds all relevant objects.
■
acSysUploadFileURI indicates the file name and location along with the file transfer
protocol (HTTP or NFS), for example, “http:\\server\filename.txt”.
■
acSysUploadFileType and acSysUploadFileNumber are used to determine the file to be
uploaded along with its instance when relevant (for CAS or Video Font).
■
acSysUploadActionID is at the disposal of the manager and can be used to indicate that a
certain manager has performed the action.
■
acSysUploadActionType determines the action that occurs and triggers it off at the same
time.
- 25 -