Subject: | |
From: | |
Reply To: | |
Date: | Wed, 22 Mar 2000 17:13:39 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Jeff,
FTP behaves differently in batch than it does online. When running online
it will prompt you for your username. In batch you must specify the user
command.
Change from:
open myftp.domain.nam
username
to:
open myftp.domain.nam
user username
and it should work just fine.
Doug.
Doug Werth Beechglen Development Inc.
[log in to unmask] Cincinnati, Ohio
----- Original Message -----
From: "Jeff Baranda" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, March 22, 2000 4:13 PM
Subject: Creating jobstream with FTP
> Hello all,
>
> I need help! I have a job that creates a file on the hp system. After
the
> file is created I want it to download this file into our FTP server.
Here is
> my question. How would I modify my jobstream to pass a login name and
> password to
> the server? Here is a little snippet of my jobstream.
>
> O=LP
> REPORT
> (70/93) Continue?
> NOPAGE
> D1,LOAN-FILE.ACCOUNT,8
> D1,LOAN-FILE.SUFFIX,11
> D1,"L",15
> E1,"ZZZZZZZZZ9-"
> END
> EXIT
> !FTP
> open myftp.domain.nam
> username
> password
> purge /FTP/oldifle
>
> It takes my open command but does not like my login and password lines.
I
> get an "Invalid command" message.
>
>
> Thanx in advance!
|
|
|