Delete files from UNC path

Discuss RoboTask here
Post Reply
Rukbunker
Posts: 224
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

Delete files from UNC path

Post by Rukbunker »

Hey Oleg,

A folder with *.mxf files needs daily cleaning. The folder is a UNC path, I have write permissions (because I can delete files by hand). "Search for files" is set to at least 1 day old or older.
Robo_01.PNG
Robo_01.PNG (156 KiB) Viewed 57 times
Robo_02.PNG
Robo_02.PNG (14.53 KiB) Viewed 57 times
As you can see, I have a lot of files, older than 1 day. However, Robotask doesn't "find" anything, the {LIST} variable is empty. As said, I have modify permissions. What can this be?
Oleg
Site Admin
Posts: 3272
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Delete files from UNC path

Post by Oleg »

Have you checked the value in the Path1 variable?
Oleg Yershov
Rukbunker
Posts: 224
Joined: Mon Feb 22, 2016 4:06 pm
Location: Netherlands

Re: Delete files from UNC path

Post by Rukbunker »

Absolutely:

Path1=\\10.20.180.42\d$\Audisi\ONE\Temp\Linker.194

When I browse it manually , I can reach it succesfully
Oleg
Site Admin
Posts: 3272
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Delete files from UNC path

Post by Oleg »

another question:
Where are you using this task: in the RoboTask application in your user session or in the RoboTask system service?
Pay attention that system service doesn't have access to network shares by default. You must login the SYSTEM session first.
Use the action Login to network share or NET.EXE system utility

I tested UNC folder name in my example it works without problem.
Oleg Yershov
Post Reply