Actually, there is a command called EXITONERROR. Issue the command before your open. As FTP is processing, it will end the program whenever there is an error. At that time, you can check the FTP@ vars. Get Extreme. Ron Horner Horner Consulting www.hornerconsulting.com -----Original Message----- From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On Behalf Of Tim Cummings Sent: Thursday, August 14, 2003 7:52 AM To: [log in to unmask] Subject: Re: [HP3000-L] FTP not aborting in job You are correct, FTP does use the variables. However since it will not exitonerror, any command (other than quit) that is successful after a command that fails causes the variables look like everything went well. -----Original Message----- From: James P Hofmeister [mailto:[log in to unmask]] Sent: Wednesday, August 13, 2003 10:49 PM To: [log in to unmask] Subject: [HP3000-L] FTP not aborting in job Hello ALL @ 3000-l, RE: FTP not aborting in job FTP does not use the JCW, but uses variables: :ftp File Transfer Protocol [A0012D06] (C) Hewlett-Packard Co. 2002 [PASSIVE SUPPORT] ftp> quit :showvar ftp@ FTPLASTERR = 0 FTPXFERFILES = 0 FTPREQFILES = 0 FTPREPLACE = TRUE Regards, James Hofmeister Hewlett Packard - Global Solutions Engineering (WTEC) ________________________________________________________________ The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! * 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 * * To join/leave the list, search archives, change list settings, * * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *