For ooRexx 3.0.1 on Windows XP SP2
FtpTrace() is documented to return 0 if successful and
-1 if unsuccessful. In fact the method returns +1 if
successful. Since 0 and -1 are standard return code
throughout, it would make more sense to update the
method than the doc.
If Debug Then
Say If myFTP~FtpTrace() = 1 /0/ Then
/ SpecError /
If myFTP~FtpTraceLog( TraceLog, 1
/'REPLACE'/) = 0 Then / 1417973 /
Say programname' - FTP Trace activated on 'TraceLog
Say programname' - FTP Trace not active. Code =
Say programname' - FTP Trace not available.
Code = 'myFTP~FtpErrNo'.'