Library: FTP support (OMFTP)
Returns: An external source object.
define external string source function FTPConnectionRemoteInputFile value FTPConnection this-FTPConnection file value string remote-filename
This is an external string source function for reading a remote file on an FTP server. The FTP connection is locked during the lifetime of this source. Any library call that uses the connection will signal an exception while the source is active. Error inquiry functions and the close functions are exceptions and are allowed while the source is active.
To use this function, you must include the following line near the start of your program:
; read a remote file and put it to #current-output output FTPConnectionRemoteInputFile MyCon file "test.dat"