System Error. Code: 5. Access is denied

Advertisement

zoomt
Joined:
Posts:
1
Location:
Houston, TX

System Error. Code: 5. Access is denied

Hello all,
I am getting the above error when running the following script command:
get -delete DSOLGCUS.CX.* \\network\Share\LockBox\CB\Vault\

Essentially, I am wanting to copy from the destination folder to a local folder on our network and delete the file after the copy has been completed.

The account that I am running this on is an admin account.
I can perform the download and delete function within the GUI.

Any thoughts? Thank you in advance.

Reply with quote

Advertisement

zoom970
Joined:
Posts:
2
Location:
Houston, TX

(EOSError) System Error. Code: 5.

Attached is the Batch file, Script File, and Log file.
  • log.txt (12.29 KB, Private file)
Description: Log file
  • LockboxProcess.bat (82 Bytes, Private file)
Description: Batch file
  • LockboxScript.txt (1.12 KB, Private file)
Description: Script file

Reply with quote

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

Re: (EOSError) System Error. Code: 5.

Thanks. But I have asked for a log from a successful transfer with GUI as well.

Btw, how are you running your script? It looks like it is executed from some service. Task Scheduler?
Are sure the account that runs the script have permissions to that network folder?
See https://winscp.net/eng/docs/faq_scheduler
And https://winscp.net/eng/docs/guide_debugging_scheduler

Reply with quote

zoom970
Joined:
Posts:
2
Location:
Houston, TX

Hi Martin, I am attaching a screen shot of the GUI. The files in colored blue is what has been successfully downloaded from the GUI.

I am using Task Scheduler to launch a batch file.

My account is a Local Admin account and does have access to the folder.

Appreciate any insight you may have.

Description: Image of successful download from Remote site to local.

WINSCP IMAGE.GIF

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum