PLBWEB_SAVETOCLIENT Keyword


9.7C

     PLBWEB_SAVETOCLIENT={directory}

 

This keyword specifies a {directory} name that exists as a sub-directory under the PWS 'http_root' directory.

 

The {directory} is used when the 'Client.Open' *Options value of one (1) invokes a download of a file from the PWS server to the client browser. See the 'Client.Open' method in the PL/B Language Reference for additional information.

 

The {directory} can contain file(s) and sub-directories that contain files that can be downloaded to a client browser.

Example:

 

     PLBWEB_SAVETOCLIENT=mydownload

 

In this case, the directory named 'mydownload' must exist as a sub-directory under the PWS 'http_root' directory. The 'mydownload' can contain addition sub-directories and file(s) that can be downloaded to a client browser using the 'Client.Open USING *OPTIONS=1' instruction.

 

     Client.Open USING *URL="mycompany\myreport.pdf",*OPTIONS=1 //Invoke Save-As-Dialog

 

 

See Also: PLBWEBSRV Keywords, Server Command Line



PL/B Web Server PLBWEB_ROOT PLBWEB_SUSPEND_MAX_TIMEOUT