Skip to main content
Question

CSV: failed to open error


fpakzat
Contributor
Forum|alt.badge.img+3

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

robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • January 20, 2020

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


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • January 20, 2020

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.


robotix
Contributor
Forum|alt.badge.img+10
  • Contributor
  • January 20, 2020

@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.


fpakzat
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 6, 2020

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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings