I have a job that runs successfully on my local studio using UNCs in a context variable. However when I deploy it to the remote engine using TMC, if succeeds with a message "tFileList_2 - File or directory count : 0" even though there are three files in the directory.
I've tried reformatting the URL using / and \\ and also using the local filepath, as the engine is also the fileserver sharing the file. Its a windows system and everyone has permission on both the share and the directory.
this is the text of the UNC parameter:
which is the server/sharename.
I have also tried this format:
which is the local path on the remote engine server.
The job component was using this path variable : context.ImportFilepath
This works on my local windows machine but not from the cloud/remote engine. It will work from the cloud if I change the variable to a local path string in the component however.
I'm guessing the Remote Engine is running as a service/daemon on a Windows or LINUX server, does the user of the service/daemon have access to the UNC path?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
This video focuses on different methods of adding metadata to a job in Talend Cloud
This video will show you how to add context parameters to a job in Talend Cloud
This video will show you how to run a job in Studio and then publish that job to Talend Cloud