Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Gary_W
2018-06-12T20:00:13Z
Delete file tasks works fine with a folder of: {JOB(Active|Variable|JobFileDir)}
and an Include file mask of: {PATH(ChangeExtension|{TRIGGER(Active|LastTrigger|File.Result.Name)}|out)}
(the file that triggers my job is a .xlsx).

However, when I check the "Secure content with random data" checkbox on the "delete settings" tab and run the job, the delete file tasks fails with:
Exception in Task: The path is not of a legal form.
Exception in Task: No file(s) deleted
No other boxes are checked.

The filename resolves to:
Copy of Validated SG Enrollment QTR 1-4 corrected rejects and new enrollments 04162018.out

Could the spaces in the filename cause this? File name too long?
Sponsor
Forum information
Support
2018-06-14T10:11:02Z
Can you enable Task debugging in Main settings of Task and post the full error message?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Gary_W
2018-06-14T13:20:58Z
Exception in Task: System.ArgumentException: The path is not of a legal form.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetPathRoot(String path)
at System.IO.DriveInfo..ctor(String driveName)
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.LGEKMJEBHMPHOPBNFEILIMOCHGEDBBMJKKAL.FBCJBHDLIFGNJMDPLNNPNMFPDKJJBDFDEIIB() in C:\sourcefiles\code\VisualCronService\Jobs\TaskProcesses\File\clsProcessTaskFileDelete.vb:line 74
Exception in Task: System.Exception: No file(s) deleted
Support
2018-06-14T14:30:12Z
Thanks, can you add the full path as well?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Gary_W
2018-06-14T14:37:36Z
The path resolves to (some elements change to protect the innocent):
\\xyz-online\xyz\Operations\Transfers\Trading_Partners\vendorname\dev\tmp\EFS\Enroll\XLSX Conversion to CSV\Copy of Validated SG Enrollment QTR 1-4 corrected rejects and new enrollments 04162018.xlsx

Note it could end in an extension of .* if I decide to delete the orig and tmp files that are used in my process.

Thanks!
Support
2018-06-15T09:08:27Z
Thanks, we will get back to you.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2018-06-21T10:20:14Z
Scroll to Top