For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
A wrapper object for an SFTP session running over and existing SSH connection. Use the OpenSFTP() method
of a previously connected and authenticated %Net.SSH.Session to instantiate a valid SFTP object for use.
You should NOT create instances of %Net.SSH.SFTP directly!
NOTE: CacheSSH is currently not supported on OpenVMS platforms.
Enumerate the contents of a directory. Populates the contents array with $LIST entries for
each file in the directory, subscripted by a integer sequence, the $LIST is composed in the same
format as with the FileInfo() method.
The optional spec parameter allows for wildcards when searching the directory. The wildcards
that can be used are as follows:
Enumerate the contents of a directory by calling the specified instance method once for each entry
in the directory. The signature of the callback should take two arguments, first an integer
sequence number and secondly a $LIST composed in the same format as with the FileInfo() method
Gets information about a file. On return, info is a $LIST containing:
3) File type
P: Named pipe (FIFO)
C: Character special
B: Block special
F: Regular file
L: Symbolic link
7) Last Access Time
8) Last Modification Time
Depending on the remote system, some information may not be available and
will be indicated by a null list element.
Get a file from the remote system, storing it in the stream.
If stream not defined on entry it will create a stream for this automatically. If stream
is a file stream we will just link to the file we created.