On Wed, 6 Jun 2018 13:50:22 +0200, Donald J wrote: >You could write a VBscript that creates your FTP script. >Store the password in a Win10 user or volatile environment variable. >The VBscript could run the FTP script, then delete the script file, >so there is no password kept on disk for more than the duration of >the ftp. > Why not pipe the script output to the FTP command and never have the password on disk?
I suggested bash, which is available on a greater variety of desktop systems than VBscript. >I would also recommmend using FTPS with Curl. > I suggested something similar, but the OP is in an ISV position and can't count on customers' having optional products. >Set the password: >set objShell = CreateObject( "WScript.Shell" ) >Set objSystemEnv = objShell.Environment( "VOLATILE" ) >objSystemEnv( "ZZPASS" )=V_PW > How does the V_PW (variable?) get set? >Retrieve the password: >set objShell = CreateObject( "WScript.Shell" ) >Set objSystemEnv = objShell.Environment( "VOLATILE" ) >V_PW = objSystemEnv( "ZZPASS" ) >> Sent: Monday, June 04, 2018 at 9:47 AM >> From: "Kevin Merkley" >> >> This is something we send out to customers so we have to expect they may not >> have anything available except their Windows FTP client to upload from >> Windows to z/OS. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
