HP3000-L Archives

July 2000, Week 5

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:
Mike Church <[log in to unmask]>
Reply To:
Mike Church <[log in to unmask]>
Date:
Sun, 30 Jul 2000 08:42:55 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
!JOB FTPJOB,MGR.ACCT
!RUN FTP.ARPA.SYS
open 190.182.66.2
user ftpuser  password

get file.txt newfile.pub

exit
!EOJ

where :
  190.192.66.2 is the server
  ftpuser is a valid NT user
  password is the correct password for the NT user

assumptions:
  the NT server has the FTP service running and an FTP user has been
created.

GET remote-file [local-file][;buildparms]

Retrieve the file remote-file and store it on the local system.  MPE/XL
build parameters may be used to change how the file is stored.  If a
local file name is not specified, the file is saved with the same name
as the remote file name (assuming a legal MPE/XL file name).  The file
is not saved if any errors occur during the transfer.

hth

mc

 Mike Church
 Technical Support Manager
 Information Services
 Our Lady of Bellefonte Hospital
 Saint Christopher Drive
 Ashland, Kentucky 41101
 -----------------------------------
 Phone : (606)833-3727
 Pager : (606)327-0965
   Fax : (606)833-3342
 -----------------------------------
    Alternate e-mail : [log in to unmask]
 -----------------------------------
  MY URL: http://members.tripod.com/mike_church/
 OLBH: http://www.olbh.com
 -----------------------------------
 Daily Quote: Few are those who see with their own eyes and feel with their
own hearts. - Albert Einstein





-----Original Message-----
From: Vijesh [mailto:[log in to unmask]]
Sent: Saturday, July 29, 2000 2:42 PM
To: [log in to unmask]
Subject: [HP3000-L] Help: FTP


Greetings!

Looking for help from all the GURUs out there!

A client of ours would FTP a txt file to my server (running winnt 4.0), this
is a daily process and the txt file will be named "DDMMYY.txt"(where ddmmyy
will be day,month and year). I have to transfer the daily file from the NT
server to a HP3000 host with a fixed file name, lets say "xx12".

Need help on how to automate this process of FTP to HP3K, since the source
file name is variable and assuming there could be multiple files in the
source directory on the NT server. I am required to pick only the current
days file (ddmmyy.txt), ignore other files and FTP it to HP3K.

ATOM RSS1 RSS2