HP3000-L Archives

November 2001, 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:
"Porter, Allen" <[log in to unmask]>
Reply To:
Porter, Allen
Date:
Fri, 16 Nov 2001 16:34:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (91 lines)
I've been asked to show a before and after picture of the scripts to ftp VSE
from a UNIX box.  Hope this helps.

Before (wrong)
Script in a file called f :

open xx.xx.xx.xx
user uuuuu
pass pppppp
CD MYDIR
dir
close

Command :
> ftp <f

After (correct)
Script in a file called f :

open xx.xx.xx.xx
user uuuuu pppppp
cd MYDIR
dir
close

Command :
> ftp -n <f


Change was moving password to the same line as user name; making cd command
lower case; and using -n parm on ftp command.
-----Original Message-----
From: Porter, Allen [mailto:[log in to unmask]]
Sent: Friday, November 16, 2001 1:27 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] FTP from UNIX hitting VSE


Correct on both accounts.  The -n option did the trick (we thought we needed
autolog on -- oops) and you do need the password on the same line (e.g. user
username password).

Have a great weekend!


-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]]
Sent: Friday, November 16, 2001 10:16 AM
To: [log in to unmask]; [log in to unmask]
Subject: RE: FTP from UNIX hitting VSE


X-no-Archive:yes
Well, I don't know anything about ftp on VSE, but I can tell you that ftp
batch files on MS clients have to be told to suppress automatic log on
(which happens to be -n, which "Suppresses auto-login upon initial
connection."), because the automatic user prompt does not handle being fed
the user name. Rather, like you have below, the script has to specify the
user command.

I have to wonder if the UNIX client is likewise trying to handle user
prompting for you. If so, you might want to see if it will take the user
name. I would think that you might remove user from that line (and you may
need to include the password on the same line as the user name). But that
gives you a script that is different from what you might do on several other
platforms. A better solution would be to suppress the auto-login on your
UNIX client. I could not begin to guess how you do that.

Greg Stigers
http://www.cgiusa.com
Any sufficiently new technology is indistinguishable from magic,
unless it is reliable. Then it is taken for granted and ignored.
[log in to unmask]


Confidentiality Warning:  This e-mail contains information intended only for
the use of the individual or entity named above.  If the reader of this
e-mail is not the intended recipient or the employee or agent responsible
for delivering it to the intended recipient, any dissemination, publication
or copying of this e-mail is strictly prohibited. The sender does not accept
any responsibility for any loss, disruption or damage to your data or
computer system that may occur while using data contained in, or transmitted
with, this e-mail.   If you have received this e-mail in error, please
immediately notify us by return e-mail.  Thank you.

* 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