ipsvrj11

ipsvrj11

This is the background server used to access data on a Fip Server.

This version can do the following :
    LISTQUEUES  for a logon
    STORE       if file already exists, the OLD version is copied to name.000
            New hdr is added
    READ
    DIRLIST

It is normally placed in the SYSTEM file and forgot about.

Input switches are (all optional) :
    -l : log requests and connections   default: no
    -j : j11 path               default: /Atex/commgr/general
    -P : Port no to receive messages on default: 9140
    -h : j11 hdr to use as default      default: wirdef
    -v : print version number and quit  default: no

LISTQUEUES
READ
STORE
DIRLIST

---- Input ----
Example of Input :
<?xml version="1.0" standalone>
<FIPAGENT>
<ACTION>DIRLIST</ACTION>
<QUEUE>/fip/spool/2edsys</QUEUE>
<LOGON>albert</LOGON>
<PASSWD>HeyJude</PASSWD>
<SIZE/>
<DATE/>
</FIPAGENT>
Note - tags are case insensitive

---- Output ----
Example of Output :
<?xml version="1.0" standalone>
<FIPAGENT>
<REPLY>
    <ACTION>DIRLIST</ACTION>
    <RESULT>231</RESULT>
    <DEVICE-RESULT>0</DEVICE-RESULT>
    <DATALENGTH>6507</DATALENGTH>
</REPLY>
</FIPAGENT>Data follows.......
Note there is no trailing NL

---- Notes ----
Return Codes

Ok - in the range 200-299

211 - Read complete
212 - Filter returns nothing
221 - Store complete
231 - Directory List complete

errors - in the range 400-499

general errors
401 - Nothing !
402 - No Action Specified
403 - No Logon Specified
404 - Password Incorrect
405 - Unknown Action Specified
406 - Timeout - incomplete Token

Read
411 - No File Specified
412 - No Such File
413 - File not Readable

Store
421 - No File Specified
422 - Exists but is NOT a File
423 - File exists - no overwrite selected
424 - Error Writing Zero Length File
425 - No Data Sent for new file

Dir List
431 - No Queue Specified
432 - Queue does NOT exist
433 - You do not have access to this Queue

(copyright) 2017 and previous years FingerPost Ltd.