🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.protocols.iso.dev-environ
Article #462

Bypassing the FTAM password prompt

#462
From: Elayne_McFaul.Wbst128
Date: Wed, 13 Feb 1991 17:40
39 lines
1826 bytes
I am looking for a FTAM command analogous to ftp's USER command, where I can
supply the username and the password.  If interested, read on for a more
complete description of the problem...


I have written a shell script that invokes FTAM.  Two arguments must be
supplied to the script:  a filename and a transfer direction, for example,
"%ftamscript foo.bar get".  Everything works except for the password prompt.
FTAM will read the username from the script but it refuses to do the same for
the password.  Instead, it prompts the user for keyboard entry.  A copy of the
script is below.  I have a working version of an almost identical script that
invokes ftp and issues the USER command.

Please do not send me flames about the security breach.  I'll admit it is a bit
unconventional, but it will only be used for a few weeks while making
performance measurements of the protocol---measurements that must not include
the delay associated with keyboard input from a user.  Thank you for any help
or suggestions you can offer.

BTW, I am running isode 6.0 on Unix 4.1.

Elayne McFaul
Xerox Corporation
McFaul.Wbst128@Xerox.com

############
# Usage:  ftamscript filename direction (get or put)
#
ftam << EOF
open hostname
username
password
set type binary
set realstore unix
cd directorypath
$2 $1 $1
quit
EOF
############
Technical Details
Message-ID: <"13-Feb-91.12:40:21.EST".*.Elayne_McFaul.Wbst128@Xerox.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!pacbell.com!decwrl!ucbvax!XEROX.COM!Elayne_McFaul.Wbst128

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!pacbell.com!decwrl!ucbvax!XEROX.COM!Elayne_McFaul.Wbst128
From: Elayne_McFaul.Wbst128@XEROX.COM
Newsgroups: comp.protocols.iso.dev-environ
Subject: Bypassing the FTAM password prompt
Message-ID: <"13-Feb-91.12:40:21.EST".*.Elayne_McFaul.Wbst128@Xerox.com>
Date: 13 Feb 91 17:40:21 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: McFaul.WBST128@xerox.com
Distribution: inet
Organization: The Internet
Lines: 39