File Processor Connector

File Processor Connector

Compressing or Decompressing Files Examples

Compressing or Decompressing Files Examples

You are a system administrator and want to compress files present in the local file system.
Perform the following steps to create a
synchronization
task to compress files present in the local file system:
  1. In
    Data Integration
    , click
    New
    Tasks
    .
  2. Select
    Synchronization Tasks
    , and click
    Create
    to create a synchronization task.
    The
    Definition
    tab appears.
  3. Configure the following fields on the
    Definition
    tab:
    Field
    Description
    Task Name
    Name of the
    synchronization
    task. For example: File_Process_Compression
    Description
    Description of the
    synchronization
    task. Maximum length is 255 characters.
    Task Operation
    Select Insert.
  4. Click
    Next
    .
    The
    Source
    tab appears.
  5. Configure the following fields on the
    Source
    tab:
    Field
    Description
    Connection
    Select the connection you created. For example: File_Process_Compression_Conn
    Source Type
    Select Single.
    Source Object
    Select FileCompress.
  6. Click
    Next
    .
    The
    Target
    tab appears.
  7. Configure the following fields on the
    Target
    tab:
    Field
    Description
    Connection
    Select the flat file connection.
    Target Object
    Click Create Target.
  8. Click
    Next
    .
    The
    Data Filters
    tab appears.
  9. Create a new filter, and filter by based on the FileName, CompressionType, lastModDate, or CompressAllFiles filter fields on the
    Data Filters
    page. You can use the CompressAllFiles filter field to zip files to a single zip or .7z file.
  10. Click
    Next
    .
    The
    Field Mapping
    tab appears.
  11. Click
    Automatch
    on the
    Field Mapping
    tab to map source fields to target fields accordingly.
  12. Click
    Validate Mapping
    to validate the mapping.
  13. Click
    Save
    and then
    Finish
    .
  14. From the
    Explore
    page, select the task, and click
    Actions
    Run
    .
    In
    Monitor
    , you can monitor the status of the logs after you run the task.

0 COMMENTS

We’d like to hear from you!