HP3000-L Archives

September 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Fri, 13 Sep 2002 13:29:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
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 *

ATOM RSS1 RSS2