I had the same problem some time ago. 

I prompted the user for the password and then wrote the control file for FTP 
to a file, including the password. This works, but maybe someone could be able 
to read the file containing the passwort while FTP is running. 

Some FTP clients allow the password to be specified as a command line 
parameter. If this is the case, you don't have to write it into the file, 
you can pass it to FTP from REXX directly, which is safer. 

Or: use another transfer mechanism, for example scp, if available. 

Kind regards

Bernd



Am Dienstag, 16. Mai 2006 12:11 schrieben Sie:
> Hi
>
> I came across this in the archives and wondered if anyone had an answer. I
> am trying to do exactly the same - and having exactly the same lack of
> success as the original poster!
>
> Thanks
>
> Andy Chillman
> Lead Systems Programmer
> euroConex Technologies Ltd
>
>
> On Wed, 17 Oct 2001 15:11:44 -0500, Jim Sumrall <[EMAIL PROTECTED]>
>
> wrote:
> >I would like to run FTP from W/NT to OS/390 2.10.  I can see how to use a
> >script file with an embedded password.  I would like to use a script file
> >that stops and prompts for the password, then continues.  Right now, if I
> >don't code a password, it reads the next line of the script as the
>
> password,
>
> >which is bad.  Suggestions are welcomed.
> >
> >Command: FTP -s:ftpcmds.txt -n HOST
> >
> >FTPCMDS.TXT has the following:
> >
> >USER MYID
> >PASS
> >LCD TEMP
> >GET MAIN.FILE FILE.PC
> >QUIT
> >

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to