We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

Output File with File Name Inputted...BUT Without File Name in Output

Comments

2 comments

  • Avatar
    Gerry Mullin

    When you say you are using pipe delimited txt files, am I right in presuming you are writing out the data using Output CSV/Delimited node? If so there is a Field Order section in that node where you can rearrange the order of the fields and also you can remove any fields that you don't want. In this case if FileName on the input only serves the purpose of telling the node what the output file should be called you could remove it in this section and it would not be on your output. 

     

    Another option is to write out the file to some generic file name (with FileName removed from the fields), then using a transform node directly after you have written out the file (clock it to your output node), you would use os.move(GenericFile,NewFileName) command.

    1
    Comment actions Permalink
  • Avatar
    Joshua Campbell

    Thanks Gerry! I can't believe I didn't think of this approach.

    Josh

    0
    Comment actions Permalink

Please sign in to leave a comment.