Subject: | |
From: | |
Reply To: | |
Date: | Tue, 15 Apr 2003 02:31:50 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|