HP3000-L Archives

January 2003, Week 2

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:
Tom Brandt <[log in to unmask]>
Reply To:
Tom Brandt <[log in to unmask]>
Date:
Wed, 8 Jan 2003 17:09:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
At 02:07 PM 1/8/2003 -0800, Gary Jackson wrote:
>We would like to be able to automate the transfer of files between a PC and
>an HP e3000.  My assumption is that FTP is the best way to accomplish that.
>Does anyone have suggestions/samples/websites that could help me get started
>on this?

Your request is a bit vague, but here is one working example going from an
HP to a PC:

!  comment Build ftp command file
!  echo open xxxxxxx                         > ftpcmd
!  echo USER userid                         >> ftpcmd
!  echo ASCII                                      >> ftpcmd
!  echo pwd                                        >> ftpcmd
!  echo cd  targetdir                           >> ftpcmd
!  echo put SOURCE target.dat      >> ftpcmd
!  echo  exit                                >> ftpcmd
!  CONTINUE
!
!  comment Transmit the source file
!  run ftp.arpa.sys;stdin=ftpcmd
!  if ftplasterr <> 0 then
!    echo #!HPJOBTYPE!HPJOBNUM !HPMONTH/!HPDATE/!HPYEAR !HPTIMEF &
!            MSG: FTP of source file to server failed!  &
!               FTP error is !FTPLASTERR


--------------------------------
Tom Brandt
Northtech Systems, Inc.
130 S. 1st Street, Suite 220
Ann Arbor, MI 48104-1343
http://www.northtech.com/

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2