Primeur Online Docs
Data Mover 1.20
Data Mover 1.20
  • 🚀GETTING STARTED
    • What is Primeur Data Mover
    • Main features of Primeur Data Mover
    • Primeur Data Mover deployment
    • Navigate through Primeur Data Mover
  • 👥Actors
    • Who are the actors
    • Create your first actor
    • Configure an actor 🚀
      • Users Tab
      • Groups Tab
      • VFS Tab
      • File Resource Tab
      • Connection Contract Tab
      • Client Connections Tab
    • Search files by actor
    • Actor Lineage 🚀
      • Aggregation of flows by protocol 🚀
      • Lineage with connection contracts 🚀
      • Lineage with input, mediation and output contracts 🚀
      • Lineage with any contract type 🚀
  • 🗄️VIRTUAL FILE SYSTEMS
    • Virtual File Systems (VFS) 🚀
      • Creating a VFS 🚀
      • Configuring a VFS
      • Adding Virtual Paths
      • Modifying and Deleting a VFS
    • Searching files in all VFS
    • Storage Classes 🚀
      • Storage Class: File System 🚀
      • Storage Class: SMB v3 or later versions 🚀
      • Storage Class: Amazon S3 🚀
      • Storage Class: Google Cloud Storage 🚀
      • Storage Class: Azure Blob Storage 🚀
    • Retention Classes
  • 📝Contracts
    • What is a contract
    • Create your first contract
      • Create an Input Contract
        • Define the contract info
        • Associate the contract with the actor
        • Define the contract actions
        • Set the contract variables
      • Create a Mediation Contract
      • Create an Output Contract
      • Create a Connection Contract
        • Create a contract clause
        • Associate the VFS with file processing rules
        • File Processing Rules
    • Managing contracts 🚀
    • File Resources
      • Creating File Resources
      • Navigating File Resources
      • How to use File Resources
  • 🧱Workflows
    • What is a workflow
    • Create your first workflow template
    • Trigger types
      • Trigger types for input contracts
      • Trigger types for mediation and output contracts
    • Service tasks
      • Standard service tasks
      • Triggerable service tasks 🚀
      • Spazio selectors and filebox metadata management
      • Error management
    • Variables
      • Variables in workflows and contracts
      • Handling process variables
    • Workflow templates
      • System workflow templates
        • Workflow templates for input contracts
        • Workflow templates for mediation contracts
        • Workflow templates for output contracts
      • Custom workflow templates
        • Workflow template toolbar
        • Workflow template Shape repository panel
        • Workflow template working area
        • Workflow template BPMN-diagram panel
      • Error workflow templates
    • Editing workflow templates
    • DataFlow Instance Context (DFIC) 🚀
  • 🧑‍⚖️FILE ROUTING
    • What is File Routing 🚀
    • Routing Rules
      • The Rules tab
      • The Categories tab
      • The Output tab
    • How to create a rule 🚀
      • Add metadata 🚀
      • Select ACTIONS
      • Select OUTPUTS
      • Policy for the selection of metadata rules
    • Configuration of the environment in Data One
      • Set up Storage Classes
      • Set up Retention Classes
      • Configure the Actor
      • Set up File Resources
    • Associate the Routing Rule with a Contract
    • Example
  • 🔓Security
    • Identity and Access Management
    • Users & Groups
      • Setting the password policy
      • Creating Internal Users 🚀
      • Creating Internal Groups
      • Creating External Users
      • Creating External Groups
    • Key Stores and Trust Stores
      • Key Store 🚀
        • Creating a Key 🚀
        • Creating a Certificate 🚀
        • Importing a Key or a Certificate
        • Creating a Symmetric key
        • Examples
      • Trust Store 🚀
        • Importing Keys 🚀
        • Importing Certificates
      • Untrusted Cache 🚀
      • Trusting an element
        • When do I use the Keys tab?
        • When do I use the Certificates tab?
      • PGP Key Store / PGP Trust Store
        • Configuring the PGP Key Store
        • Importing keys into the PGP Trust Store
    • ICAP Engines
      • Configuring an ICAP Engine
      • Defining an ICAP rule
  • 🛸TRANSPORT PROTOCOLS AND CONNECTORS
    • Data Mover client and server roles
    • Client Connections
      • Client Connection: FTP
      • Client Connection: FTPS
      • Client Connection: SFTP
      • Client Connection: HTTP
      • Client Connection: HTTPS
      • Client Connection: PESIT
      • Client Connection: SMB v3 or later versions
      • Client Connection: POP3 or IMAP
      • Client Connection: SMTP
      • Client Connection: PR4/PR4S
      • Client Connection: PR5
      • Client Connection: PR5S
      • Client Connection: HDFS
      • Client Connection: HDFSS
      • Client Connection: Amazon S3 🚀
      • Client Connection: Google Cloud Storage
        • Credentials
      • Client Connection: Azure Blob Storage
      • Client Connection: IBM Sterling Connect:Direct
      • Appendix
    • Server Connections 🚀
      • Server Connection: FTP
      • Server Connection: FTPS
      • Server Connection: SFTP
      • Server Connection: HTTP
      • Server Connection: HTTPS
      • Server Connection: PeSIT
      • Server Connection: PR4
      • Server Connection: PR5
      • Server Connection: PR5S 🚀
      • Server Connection: IBM Sterling Connect:Direct
    • Stopping all servers in one go
  • 🎧FILE EVENT LISTENER
    • What is the File Event Listener
    • Configuring File Event Listeners
      • Setting the File Event Listener Engine
      • Defining a contract for the File Event Listener
      • Setting events to be monitored
    • RegEx Rules 🚀
    • Monitoring File Event Listeners
  • 📚INFRASTRUCTURE
    • STENG, Clusters and Servers
    • Adding a cluster and a STENG
    • Deleting a STENG
    • DMZ Gateways
    • DMZ Clusters
  • 🕒MONITORING
    • Jobs
      • Details about Jobs 🚀
      • jobman.sh CLI
    • Job Manager
    • Job Queues
      • Managing Job Queues
    • File Transfers
      • Ongoing
      • Finished
      • Reports
    • File Transfers Rules
      • Configuring Rules
  • 👑FILE MANAGER
    • What is the File Manager
    • Logging into File Manager
    • Managing the File Manager 🚀
      • The list of results
      • Creating new folders
      • Uploading files
      • Downloading files 🚀
      • Searching for files and folders
      • Deleting files 🚀
      • Bulk actions 🚀
    • File Manager and VFS
    • Customizing File Manager externals
      • The configuration-wui.json file 🚀
      • How to customize the Login window and the logo
      • How to customize the footer
      • How to configure the Upload with Metadata option
      • How to customize bulk actions 🚀
  • 💬LOGS & AUDIT
    • Logs 🚀
      • Logs options 🚀
      • Troubleshooting error analysis in Logs
    • Audit Options 🚀
      • Export audit logs 🚀
      • List of Audit entity types 🚀
      • Audit message codes 🚀
    • Log Notifiers 🚀
      • FEL message codes
  • 📩NOTIFICATION CHANNELS
    • What are Notification Channels
    • Configuring the default Email Notification Channel
    • Configuring a new Email Notification Channel
    • Trusting Certificates
    • Managing Templates
      • Data Watcher Macros
      • Contract Macros
      • ICAP Macros
      • Central Log Macros
      • Email Templates
      • Editing default templates
      • Loading a new template
  • 💻API
    • HTTP MFT Rest API
    • Job Manager APIs 🚀
    • SFTP Server sessions APIs 🚀
    • Audit Logs APIs 🚀
  • 🧐HOW TO...
    • ... use different DNS names - NEW! 🚀
    • ... configure a Cron Expression
    • ... configure an Application
    • ... customize a header
    • ... run searches in Data Watcher 🚀
    • ... use Data Shaper graphs in Data Mover contracts
    • ... modify DMCFG and deploy it
    • ... tune Data One data retention
    • ... fine tune Data Mover
  • 🗒️RELEASE NOTES
    • Data One 1.20.10
    • Data One 1.20.9
    • Data One 1.20.8
    • Data One 1.20.7
      • Data One 1.20.7.1
    • Data One 1.20.6
    • Data One 1.20.5
    • Data One 1.20.4
    • Data One 1.20.3
    • Data One 1.20.2
    • Data One 1.20.1
    • Data One 1.20.0
Powered by GitBook
On this page
  • File Resource usage when a transport sends a file
  • File Resource usage when a transport receives a file
  • Notes
  • Examples
  • No conversion
  • EoL conversion
  • PGP sign during file receive
  • Charset+EoL and PGP sign and encrypt during file reception
  • PGP decrypt during file reception
  1. Contracts
  2. File Resources

How to use File Resources

To understand the File Resource within Data Mover, it is essential to recognize its function in managing files by setting metadata attributes for both local and remote files. This involves specifying details like content type (binary or text), data format, and security features such as encryption. Local files are generated within the system through input operations in the Virtual File System, while remote files can either be incoming or outgoing, managed via output operations. These functionalities allow seamless and secure data management and conversion in-stream during file transfers.

The File Resource is a powerful feature of Data Mover for setting file metadata into the Virtual File System and to perform in-stream data conversion while reading or writing file from/to the Virtual File System.

As previously described, the File Resource attributes (local and remote) contain:

  • Information declaring the content of a plain file in terms of binary or textual data, charset, record format, end of line character(s), etc.

  • Information declaring if the file is compressed and/or secured (e.g., encrypted and/or signed).

The above attributes apply to the local file and the remote file.

The local file is always related to the file that will be created in the Virtual File System. We refer to the creation of a file entry in the Virtual File System as an Input Virtual File System operation. During an input Virtual File System operation, if the File Resource is used, the local file attribute will be used to set the Virtual File System file entry metadata.

Depending on the context of the File Resource usage, the remote file is the receiving file to be inserted in the Virtual File System or the file to be sent to its destination. We refer to the read operation of the file entry from the Virtual File System as an Output Virtual File System operation.

To clarify this behavior, we can consider two usage contexts: a transport sending a file to a remote destination, and a transport receiving a file from a remote origin.

File Resource usage when a transport sends a file

When a transport sends a file, it reads the file from the Virtual File System (Output operation) and, in this case, the File Resource local attributes related to the file contents are not used (because the only valid local file attributes are the ones associated with the Virtual File System file entry). The File Resource remote file attributes are, instead, used to convert the read file before it is sent to its destination.

If, for example, in the Virtual File System, the file is defined with an "819" charset name, and in the remote attribute of the File Resource, the charset name is "1047", a charset conversion from "819" to "1047" will be executed in-stream before data is sent. If the remote file defines security and/or compression attributes, data is secured and/or compressed as well.

File Resource usage when a transport receives a file

When a transport receives a file, its contents are described by the remote attributes of the File Resource, but the final format of the file that will be written and inserted into the Virtual File System (Input operation) is described by the local attributes of the File Resource. If, for example, in the remote attributes of the File Resource the file is defined with an "819" charset name, and in the local attribute of the File Resource the charset name is "1047", a charset conversion from "819" to "1047" will be executed in-stream before data is written. If the local file defines security and/or compression attributes, data will be secured and/or compressed as well. It is important to state that the local file attributes of the File Resource are then copied into the Virtual File System entry metadata. When a File Resource is created, its usage context is not defined at first. For this reason, it is mandatory to define both local and remote attributes. Typically, the File Resource is used by the transport when the file is received from a remote origin or sent to a remote destination, allowing for an automatic conversion of file content. Once the File Resource is defined, to use it, it is necessary to create other configuration items where the created File Resource is referred. The file resource is referred to in the Contract during the setting of the File Processing Rules (see the Contract section).

Notes

  • When the File Resource is used during an operation where a Virtual File System file entry is read (for example when a transport reads a file to be sent to a remote destination) then the local attributes of the File Resource are ignored because the file attributes used are the metadata associated to the Virtual File System entry.

  • Some transport protocols (e.g., PR4 and PR5), when receiving a file, ignore the remote attributes of the File Resource because the content and format type of the receiving file is already known (via metadata sent by the client to the server).

  • The Remote Attribute related to the secure processing is used differently depending on the context:

    • If the file is to be sent to a remote destination, then all the remote secure attributes are used to encode the data sent.

    • If the file is received from a remote origin, then only the remote encryption file format (e.g., PGP, CMS, etc.) is used to decode the receiving file.

  • The Remote Attribute related to the compression processing is used differently depending on the usage context:

    • If the file is to be sent to a remote destination, then all the remote compression attributes are used to compress the data to be sent.

    • If the file is received from a remote origin, then only the remote compression type is used to decompress the receiving file.

    • If the remote and local attributes of the File Resource are the same, then no data conversion is applied.

Examples

No conversion

File Resource is used to receive a text file with an end-of-line without any conversion.

Local Attributes
Value
Remote Attributes
Value

Content Type

text/plain

Content type

text/plain

Character Set

ISO-8859-1

Character Set

ISO-8859-1

Record Format

UV

Record Format

UV

Eol

LF

Eol

LF

EoL conversion

File Resource is used to receive a text file with End of Line conversion.

Local Attributes
Value
Remote Attributes
Value

Content Type

text/plain

Content type

text/plain

Character Set

ISO-8859-1

Character Set

ISO-8859-1

Record Format

UV

Record Format

UV

Eol

LF

Eol

CRLF

PGP sign during file receive

File Resource is used to sign via PGP a received text file.

Local Attributes
Value
Remote Attributes
Value

Content Type

text/plain

Content type

text/plain

Character Set

ISO-8859-1

Character Set

ISO-8859-1

Record Format

UV

Record format

UV

Eol

CRLF

Eol

CRLF

Execute Security Operation

SIGN

Execute Security Operation

NONE

Security Operation File Format

PGP

Security Operation Signature Key Label

keylabel

Security Operation Signature Hash Algorithm

MD5

Charset+EoL and PGP sign and encrypt during file reception

File Resource is used to perform a Charset and an End of Line conversion, and sign and encrypt via PGP a received text file.

Local Attributes
Value
Remote Attributes
Value

Content Type

text/plain

Content type

text/plain

Character Set

UTF-8

Character Set

x-windows-874

Record Format

UV

Record format

UV

Eol

LF

Eol

CRLF

Execute Security Operation

SIGN

Execute Security Operation

NONE

Security Operation File Format

PGP

Security Operation Signature Key Label

keylabel

Security Operation Signature Hash Algorithm

MD5

PGP decrypt during file reception

File Resource is used to decrypt via PGP a received text file.

Local Attributes
Value
Remote Attributes
Value

Content Type

text/plain

Content type

text/plain

Character Set

ISO-8859-1

Character Set

ISO-8859-1

Record Format

UV

Record format

UV

Eol

CRLF

Eol

CRLF

Execute Security Operation

NONE

Execute Security Operation

OPEN

Execute Security Operation

PGP

PreviousNavigating File ResourcesNextWhat is a workflow

Last updated 16 days ago

📝