Question

How to read a window file having file type as 'FILE'.


My purpose is to save it as .txt document. Manually I can open it in notepad and save it as .txt. But this has to do through FME.


2 replies

Badge +20

Use Text File Reader https://docs.safe.com/fme/2021.2/html/FME_Desktop_Documentation/FME_ReadersWriters/textline/textline.htm

Userlevel 4
Badge +26

If you just want to read the file which has no extension this shouldn't be an issue for either the CSV reader of the Text File Reader you just need to change the when you want to pick it.image

But if you want to rename the files with fme then you want to check out the filecopy writer - you can use this to move (or copy) files to a new location and in the process give them a new name in the process.

 

You can read the filenames/paths in a folder with the PATH reader.

Reply