MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Re: Using QSYRUPWD to write a script file



fixed

Hi, Cyndi:

Perhaps you could use Scott Klement's FTPAPI -- see:

http://www.scottklement.com/ftpapi/

This lets you perform FTP functions directly from compiled code with no need to write a "script" of any kind in a file (that could be read by someone else...).

Then, if you can arrange to create a special userID and password on the Windows side, for use by your program(s) that use FTPAPI, you should be "all set."

Hope that helps,

Mark S. Waterbury

> On 9/24/2012 1:23 PM, Cyndi Bradberry wrote:
I use multiple script files to automate transfer of data from the iSeries to a Windows FTP server. In the past, we have used the anonymous user id to access the windows server. We no longer can due to security concerns.

The preferred method is to use a user id/password that does change, but is sync'd between iSeries and Windows.

Can I use the QSYRUPWD api to retrieve the password for a specific user profile and write it out in the script file ?

Thanks,
Cyndi B.
Boise, ID








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact