Question

CSV: failed to open error

  • 20 January 2020
  • 4 replies
  • 25 views

Badge

Hi,

The file path was working fine on Workbench but it's giving me this error when I put the FME script in Task Scheduler (or Command Line).


4 replies

Badge +4

@fpakzat Would need to see more of the error and/or your syntax for the script. It can fail for many reasons.

Userlevel 4
Badge +13

Hi @fpakzat The system user might not have access to that file path. See https://knowledge.safe.com/questions/3881/fme-workbench-on-windows-scheduler.html and https://knowledge.safe.com/questions/67628/fme-batch-file-works-but-not-via-windows-task-sche.html for ideas of how to work around the Windows Task Scheduler.

Badge +4

@fpakzat drop another line here of those links from danstasafe don't help. I use task scheduler, flat files and call fmw with .bat scripts on a regular basis. Maybe i can help.

Badge

I think I found the reason. I got away with this problem by using the path follows UNC standard. I didn't realize the previous path that I used contains a Mapped Drive. 

 

\\servername\path

Reply