Skip to content

Flow documentation · legacy product

File Connection (FileCon) ​

Declaration ​

Source.FileCon : TFloFileCon

Dest.FileCon : TFloFileCon

Description ​

The File Connection object can be used to interact with the File Connection during a mapping process. This provides access to properties of the File Connection(s) so they can be altered for this specific Map.

You can access the File Connection object by referencing Source.FileCon or Dest.FileCon, where Source and Dest are pointers to the source and destination data definitions of the Map.

At Action level, the File Connection for an Action Step can be referenced in the following form (where i is the zero-based index of the Action Step):

Action.Actions[i].Source.Source.FileCon (for source data definitions)

Action.Actions[i].Dest.Source.FileCon (for destination data definitions)

Usage ​

Among other things the following tasks can be achieved by working with the File Connection object

Changing the name of an outbound file

For fine-grained control over the name of the outbound file you can edit the Dest.FileCon.FileName property

Reading the name of an inbound file

If might want to store the name of the inbound file as you are processing it. You can read the name from Source.FileCon.CurrentFileName