bpi.server.verifyremotefile()
This subroutine checks make sure that a file is accessible on the Oo server.
Subroutine Syntax
CALL bpi.server.verifyremotefile( host, user, filepath,form.id, level, status, result, verbose )
Parameters
Param |
Direction |
Description |
host |
passed |
The hostname or ip address of the Oo server |
user |
passed |
The user name to use for each ssh directive |
filepath |
passed |
The path to the directory on the Oo server where the document lives |
form.id |
passed |
The name of the file in the filepath to check |
level |
passed |
For future use |
status |
returned |
0 if the file is found, error code if the file is not found |
result |
returned |
Full text of message returned from the remote system ls -x1 directive. |
verbose |
passed |
level of verbosity |
Note: It is a good practice to call bpi.server.verifyremotefile to ensure that the mount on the remote server is alive and active before calling bpi.oo.render