Furthermore - if you use publickey authentication, you can use the SSH Agent to help you out. This is helpful if you have numerous SFTP's to do.

Michael R. Cormier
Information Services
Texas Children's Hospital



-----Original Message-----
From: Ken Connelly [mailto:Ken.Connelly@uni.edu]
Sent: Monday, May 02, 2005 1:22 PM
To: info-multinet@process.com
Subject: Re: Using SFT in DCL Command Procedures


You can't use a password scheme, you have to use public-key authentication.

Jody Craigie wrote:

>Actually I tried to use the /BATCHFILE qualifier and still didn't have any luck. It seems to hang after
>it opens the connection - never recognizes/accepts the password.
>
>
>
>>-----Original Message-----
>>From: Michael Corbett [mailto:corbett@process.com]
>>Sent: Monday, May 02, 2005 1:00 PM
>>To: info-multinet@process.com
>>Subject: Re: Using SFT in DCL Command Procedures
>>
>>
>>Jody Craigie wrote:
>>
>>
>>>I am currently trying to convert some of our DCL command
>>>
>>>

>>procedures that
>>
>>
>>>use FTP to SFTP but have been unable to get them to work.
>>>
>>>I was told that SFTP will not work in a command procedure.
>>>
>>>

>>Does anyone
>>
>>
>>>know if that is true or has anyone had any luck in attempting
>>>to do so? I have also been informed that the latest
>>>
>>>

>>version of TCP/IP
>>
>>
>>>Services (HP's product) is suppose to support this so
>>>
>>>

>>what's up with
>>
>>
>>>Multinet?
>>>
>>>
>>>

>>SFTP does work in a command procedure. You have to use the /batchfile
>>qualifier -
>>
>>
>>MULTINET
>>
>> SFTP2
>>
>> /BATCHFILE
>>
>> /BATCHFILE=file
>>
>> Specifies a file with commands to execute.
>>Authentication must be
>> possible without user interaction.
>>
>>
>>regards
>>Mike
>>
>>
>>
>>--
>>+-------------------------------------------------------------
>>------------+
>>Michael Corbett Email: Corbett@process.com
>>Process Software Phone: 800 722-7770 x369
>>959 Concord St. 508 879-6994 x369
>>Framingham MA 01701-4682 FAX: 508 879-0042
>>
>>
>>


--
- Ken
================================================== ===============
Ken Connelly Systems and Operations Manager, ITS Network Services
University of Northern Iowa Cedar Falls, IA 50614-0121
email: Ken.Connelly@uni.edu
phone: (319) 273-5850 fax: (319) 273-7373

It's much more important to know what you don't know than what you do know!