Accessing local file: If the CSV file is stored locally, the URL used is as below:
file:///C:/projectstuff/build/trialrun/teststuff/flatfile/USPSaddresses.csv/txt
Here, the CSV/TXT file is imported successfully in TDV.
Accessing a file on an FTP Server: On the other hand, if the file is imported from a remote server via FTP, then the URL is as below:
ftp://ftp.varoa.fi/pests/standards/RFC/treatment_options.csv/txt
Now, the TXT file will be imported successfully but the CSV file will fail with an error as depicted in the description.
This is because the File Delimited adapter's limitation.
File Delimited adapter's Limitation: The limitation is that it can only read and import TXT files via FTP and not any other format (including CSV).
Alternative:
CDATA's FTP adapter can be used which can be downloaded from
https://www.cdata.com/solutions/dv/tibco/#download.