Subject: | |
From: | |
Reply To: | |
Date: | Fri, 13 Sep 2002 13:29:47 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Howard,
In reading the jobstream excerpt that you included the error that I see is
a 'time out' while trying to open a 'data' connection, not a 'hang' at the
'DIR' command.
...
470 ftp> PUT PMAUTHOT t123456.789
471 200 PORT command successful.
472 150 Opening ASCII mode data connection for t123456.789.
473 Connection timed out
474 ftp> :SETVAR PTFTP_PUTERR,FTPLASTERR
475 ftp> DIR
...
Perhaps you should use the 'exitonerror' command and add code to 'trap' the
error instead of failing at one command and then still trying to issue
another.
From the FTP on-line help for 'exitonerror':
ftp> help exitonerror
EXITONERROR
Toggles exit-on-error mode. When exit-on-error is on, FTP will
terminate when any FTP User error is detected. The last error and
message are saved in system variables (enter SHOWVAR FTP@ to display).
Useful for batch jobs using FTP commands. The default is off.
Regards
Paul Christidis
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|