HP3000-L Archives

October 2003, Week 1

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:
Tim Cummings <[log in to unmask]>
Reply To:
Tim Cummings <[log in to unmask]>
Date:
Tue, 7 Oct 2003 08:58:05 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (81 lines)
James,

I think your example says it all.  You missed the point of this thread.
Exitonerror means it should not process any more ftp commands after an error
occurs, it should just set the VARs accordingly and abort.  The QUIT command
(nor any other command) should never have been processed.

Tim Cummings
Loveland, OH

-----Original Message-----
From: James Hofmeister [mailto:[log in to unmask]]
Sent: Tuesday, October 07, 2003 12:31 AM
To: [log in to unmask]
Subject: [HP3000-L] FTP 7.0 EXITONERROR not setting variables

Hello Dave, ALL,
Re: FTP 7.0 EXITONERROR not setting variables

I duplicated this problem and "exitonerror" is working properly, the
problem is the "quit" which is called internally on "exitonerror" is
operating the same as if the "quit" is entered at the user command
prompt.

We need to make a code repair to the "quit" on "exitonerror" and avoid
updating the "FTPLASTREPLY" variable with the results of "quit".

----------------------------------------------------------------------
/SYS/WORK: ftp gareth.atl.hp.com
File Transfer Protocol [A0011F05] (C) Hewlett-Packard Co. 2000 [PASSIVE
SUPPORT]
220 Gareth FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001)
ready.
Connected to gareth.atl.hp.com (15.113.9.99).  (FTPINFO 40)
Name(manager): ftpuser
331 Password required for ftpuser.
Password:
230 User ftpuser logged in.
Remote system type is UNIX
ftp> debug
Debugging on (debug=1).  (FTPINFO 24)
ftp> exitonerror
ExitOnError mode on.  (FTPINFO 33)
ftp> get bogus ./bogus
---> PORT 15,113,9,95,178,65
200 PORT command successful.
---> RETR bogus
550 bogus: No such file or directory.
Data Transfer Request Failed.  (FTPERR 13)
---> QUIT
221 Goodbye.
/SYS/WORK: showvar ftp@
FTPLASTERR = -13
FTPXFERFILES = 0
FTPREQFILES = 1
FTPREPLACE = TRUE
FTPLASTREPLY = 221 Goodbye.
FTPLASTMSG = Data Transfer Request Failed.  (FTPERR 13)
----------------------------------------------------------------------

Please contact the HP-Response Center and request a SR be opened for
FTP/iX and this problem.


Regards,

James Hofmeister
Email: <first>.<last>@hp.com
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.

---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2