From: | Fritsch Alexander |
Date: | 10 Sep 2001 at 09:53:54 |
Subject: | AW: Re: (unknown) |
> -----Urspr> üngliche Nachricht-----
> Von: Craig Hutchison [SMTP:chotch@tig.com.au]
> Gesendet am: Montag, 10. September 2001 10:34
> An: arexx@yahoogroups.com
> Betreff: [arexx] Re: (unknown)
>
> G'day Alexander,
>
>
> a> OPTIONS RESULTS
> a> FtpString =
> a> 'something-online2534:gv#8576@ftp.something-online.de/webcampic.jpg'
>
>
> a> and later in the script
>
> a> ADDRESS COMMAND
> a> DO 3 UNTIL RC=0 /* repeat 3 times in case of an error */
> a> PutClient FtpString
> a> END
>
>
> PutClient itself is rather fussy when it comes to timing.
>
> I use it in several scripts, like the example below.
>
> Address Command 'C:PutClient L='||LocOut||'
> '||UserName||':'||PassWd||'@'||Site||'/'||RemOut||'/'file
>
> (all on a single line) Notice that I've assigned variables in the
> example because the same script connects to three different FTP
> sites, each with different usernames, passwords and of course
> outbound filenames.
>
> I'd suggest you use something other than PutClient to force your TCP
> stack online. Have you tried simply telling Miami to dial up through
> ARexx?
>
>
> If ~SHOW('P','MIAMI.1') then do
> Mi_Up = 0
> Do UNTIL Mi_Up = 1
> Address Command 'C:Run >NIL: Miami:MiamiDX'
> Call DELAY(50)
> If SHOW('P','MIAMI.1') then Mi_Up = 1
> End
> End
> Address MIAMI.1 ; IsOnLine /* see if Miami's online */
> If RC=0 then do
> OnLine /* if not, do it now! */
> Call DELAY(200)
> IsOnLine
> If RC=1 then say 'Success!'
> Else do
> Say 'Miami Online failed'
> EXIT 20
> End
> End
> Else Say 'Miami was already online...'
>
>
> Cache Ya,
> Craig.
>
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
> Click Here! <http://rd.yahoo.com/M=210168.1566640.3122678.1261774/D=egroupweb/S=1705006764:HM/A=767628/R=0/*http://www.ediets.com/start.cfm?code=3221&sex=male>
> <http://us.adserver.yahoo.com/l?M=210168.1566640.3122678.1261774/D=egroupmail/S=1705006764:HM/A=767628/rand=663729350>
>
> ARexx mailing list - No flames, no overquoting, no crossposting.
> Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/>.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now!
http://us.click.yahoo.com/n7RbFC/zhwCAA/yigFAA/saFolB/TM
---------------------------------------------------------------------~->
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/