Skip to main content
Question

SystemCaller not ingesting correct file

  • December 17, 2025
  • 1 reply
  • 21 views

tbsm223
Contributor
Forum|alt.badge.img+2

Hey all, 

I currently have a workflow in place to pull a list of files from an SFTP server, download the latest file, and rename it with a .csv extension (the files do not have extensions by default). 

 

This process works fine, my problem is when I try to pass this value onto the systemcaller transformer, it seems to just run the workspace in the systemcaller without reading the updated file, which is problematic. 

I am taking the _downloaded_file_path from the FTPCaller, and adding “.csv” to it, so that it reads the file. (There is a separate transformer which replaces the file with a file of the same name to add .csv). In the workspace logs, it looks like SystemCaller is interpreting this literally as Filename + ‘.csv’ and that file does not exist. 

 

Code to run the workspace has this in it: -SourceDataset_CSV2_4 "@Value(_csv_path)" --FME_LAUNCH_VIEWER_APP "YES" 

 

Couple of perhaps dumb questions… does the SourceDataset_CSV2_4 need to be changed to _1 or something? Or is there an issue with how this transformer is set up to read the filepath attribute? 

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • December 17, 2025

The value you’ve entered will output:

c:\temp\file + '.csv'

FME treats the contents of that field literally - @ is used as an escape/special character.

To append ‘.csv’ you would simply need:

@Value(_downloaded_file_path).csv