I like to do
!setvar ftpsent false
!ftp.arpa.sys
exitonerror
open xxxx
user yyyy zzzz
ascii
send a b
:setjcw ftpsent true
close
quit
!if not ftpsent
!showvar ftp@
!showjcw
!...
The ":setvar ftpsent true" only gets executed if the send is successful.
----- Original Message -----
From: "Ronald R Horner" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, January 22, 2002 2:27 PM
Subject: Re: [HP3000-L] FTP Flags
> There is, but you have to add the command "exitonerror" in your FTP
> commands. FTP will produce a bunch of vars before exiting the program
> (showvar FTP@).
> Ron Horner
> HP3000 Systems Administrator
> JCPenney Logistics
> [log in to unmask]
> (414) 259-2274
> AIM: hornerrr
> ----- Original Message -----
> From: "Johnson, Tracy" <[log in to unmask]>
> To: <[log in to unmask]>
> Sent: Tuesday, January 22, 2002 1:18 PM
> Subject: FTP Flags
>
>
> Correct me if I'm wrong.
>
> There is no JCW or VAR to set if an FTP PUT or GET is
> successful or unsuccessful, is there?
>
> I didn't think so. I was just hoping.
>
> Tracy Johnson
> MSI Schaevitz Sensors
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
>
>
----------------------------------------------------------------------------
----
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. If the reader of this message is not the intended recipient,
> you are hereby notified that you have received this message in error and
> that any review, dissemination, distribution or copying of this message
> including any attachments is strictly prohibited. If you received this
> in error, please contact the sender and delete the material from any
> computer.
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|