Mainframe Transfers Require Elevated Privilege

Advertisement

etrigan63
Joined:
Posts:
3
Location:
Miami, FL

Mainframe Transfers Require Elevated Privilege

I have been deploying WinSCP as a replacement for ftp.exe. We do have several jobs the get/put files from our mainframe. One issue we have run into is that the scripts only work overwriting files if I run them with elevated privilege on the Windows server. Is there any way to avoid this? The user is an administrator of the server in question but he still has to "Run as Administrator". Scripts to our regular FTP servers are not affected.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Mainframe Transfers Require Elevated Privilege

I'm not sure I follow.
Are you saying that your ftp.exe script works without an elevation, but WinSCP script does not? Show us some log files for that.

Reply with quote

etrigan63
Joined:
Posts:
3
Location:
Miami, FL

Re: Mainframe Transfers Require Elevated Privilege

martin wrote:

I'm not sure I follow.
Are you saying that your ftp.exe script works without an elevation, but WinSCP script does not? Show us some log files for that.

See attached WinSCP logs.
  • winscp.mf2win.erpemail.20190418_14284958-elevated.log (7.77 KB, Private file)
Description: Elevated privilege
  • winscp.mf2win.erpemail.20190418_14280708.log (8.86 KB, Private file)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: Mainframe Transfers Require Elevated Privilege

What about some evidence that ftp works without elevated privileges?

What if instead of running ftp and winscp, you do:
echo blah > F:\BATCH\ERP\ERP_Email_Phones\HR91PRD\DATA\PAYEMAIL.TXT

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Can you elaborate please? I'm afraid we might have different expectations.

Btw, isn't it possible that you have some security software installed that may prevent WinSCP from writing those files?

Reply with quote

Advertisement

You can post new topics in this forum