HP3000-L Archives

December 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:
Robert Mills <[log in to unmask]>
Reply To:
Robert Mills <[log in to unmask]>
Date:
Wed, 17 Dec 2003 14:39:25 -0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
!job ftp,user.account
!echo open [ip address] > ftpcmd
!echo user [login name] [password] >> ftpcmd
!echo exitonerror >> ftpcmd
!# following command not necessary if files will sit in login root
directory.
!echo cd [directory] >> ftpcmd
!echo put [local file 1] [remote file 1] >> ftpcmd
!echo put [local file 2] [remote file 2] >> ftpcmd
!echo put [local file 3] [remote file 3] >> ftpcmd
!echo quit >> ftpcmd
!ftp < ftpcmd
!if ftplasterr <> 0 then
!  # place error reporting code here.
!  endif
!eoj

regards,

Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005


Edward Effinger <mailto:[log in to unmask]> wrote on 17 December
2003 14:15:

> Hi.
>
> I am currently ftp'ing 3 files from our HP929 to another site on a
> daily basis.
>
> How might I automate this process?
>
> The 3 files are always the same name and the other ftp site requires a
> login and password.
>
> Thanks for any advice received
> Ed
>
> * 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