HP3000-L Archives

April 2003, Week 3

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:
Friedrich Harasleben <[log in to unmask]>
Reply To:
Friedrich Harasleben <[log in to unmask]>
Date:
Tue, 15 Apr 2003 02:31:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (41 lines)
 We are doing something like

!     ECHO EXITONERROR              > FTPGET
!     ECHO open COMPUTER_NAME(or IP address)           >> FTPGET
!     ECHO USER USER_NAME             >> FTPGET
!     ECHO PWD                 >> FTPGET
!     ECHO cd !CRSLimitDIR         >> FTPGET
!     ECHO GET !FTPFile !MPEFile;REC=-303,1,F,ASCII;DISC=500000>> FTPGET
!     ECHO exit                    >> FTPGET
!     run ftp.arpa.sys < FTPGET
!     IF FTPLASTERR <> 0 THEN
!        SHOWVAR FTP@
!        ABORTJOB or do what else you wanna do
!     ENDIF

regards
Friedrich

Edward Givens wrote:

> Hello again
>
> All of your answers have helped me greatly.
>
> I am trying to set up a script that opens FTP and does an open, user, and
> password command then gives control over to the user.
>
> How can you send commands to FTP through CI script? As soon as it gets to
> the FTP prompt commands are not being sent.
>
> Thank you in advance for any answers
> Ed Givens
> NET ENGINEER
> Lineco
>
> * 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