Hi,
I’m trying to read in multiple csv files from an FTP account, so my reader’s file url is
ftp://username:password@ftp.host.com/folder/*FileToRead*.csv
, which works. However, the url is supposed to be dynamically generated by the Data Generator component, which will push the url through the edge and into the reader. Now my reader’s file url is port:$0.fieldname:source and when I run the graph I get an error that says:
Can't obtain input stream URL 'ftp://username:password@ftp.host.com/folder/*FileToRead*.csv' make sure its a valid url.
I know that the url is valid though since if I copy paste the url from the error message directly to the reader, it works. My guess is that if the reader is reading in from an input port and the source type is “source” it gets an error if the url has a ‘*’ sign. If that’s the case, how do I make it work? Any thoughts?
Thanks.