Open Object Rexx™: RxFtp Class Library Reference | ||
---|---|---|
Prev | Chapter 4. RxFtp Additional Method Attributes | Next |
The Response method attribute is always in one of two states. If it is set to .nil then the command did not generate a response. In all other cases the Response is an Object Rexx array object with each array entry containing a single line of the response.
A typical value for Response would be the lines from the server directory listing in response to invoking the FtpDir method.
Example:
The following will display the Response array.
if myftpobj~response <> .nil then do i = 1 to myftpobj~response~items say myftpobj~response[i] end