SFTP Documentation

Introduction

SFTP (Secure File Transfer Protocol) is a secure method for transferring files between clients and our system. It enables clients to upload their master data in CSV format, encoded in UTF-8 with semicolon separators (;). The SFTP service allows clients to both upload and download files from our system.

Folders

1. Export Folder

The export folder contains daily exports of all article lists. Each file in this folder follows a specific naming convention: cuta_server___<slug>.<YYYY.MM.DD.hh.mm>.csv, where:

  • cuta_server___ is prefix added for purposes of administration
  • <slug> represents the article list slug associated with the file.
  • <YYYY.MM.DD.hh.mm> represents the date of export (in the format of YYYY.MM.DD.hh.mm). ::
  • Filename example:

  • cuta_server\_\_\_warenstamm.2023.06.20.12.00.csv
    
  • These exported files are automatically deleted after two weeks, providing a temporary storage solution.

  • 2. Import Folder

  • Here you can download an Import Sample File

  • The import folder is where users can add their files for masterdata import. The files in this folder follow the naming convention: <slug>.<YYYY.MM.DD.hh.mm>.csv, where:

    • <slug> represents the article list name associated with the file.
    • <YYYY.MM.DD.hh.mm> is an optional date or identifier that can be used for better logging and auditing purposes. ::
    • Filename mandatory:

    • Artikelliste.csv
      
    • The primary purpose of <YYYY.MM.DD.hh.mm> is to provide additional context or information and is NOT mandatory for mapping the file to the correct article list.

    • Filename suggested pattern:

    • Artikelliste.2023.06.20.12.00.csv
      
    • Interface Description

    • When uploading, the part or item number is required as a unique assignment criterion; other elements are designation and, in the area of characteristics, particularly helpful specifications that can considerably facilitate the process of classification.

    • Sample File Import Sample File

    • Field on Mask (English)Field Name in CSV FileImport (CU-TA Incoming)Mandatory for ImportExport (CU-TA Outgoing)
      Article Numberarticle_numberYesYesYes
      Article Descriptiondescription1YesYesYes
      Article Description Bdescription2YesYes
      Feature 1feature1YesYes
      Feature 2feature2YesYes
      Feature 3feature3YesYes
      Feature 4feature4YesYes
      Feature 5feature5YesYes
      Feature 6feature6YesYes
      ManufacturermanufacturerYesYes
      Priority Administrationis_prioYesYes
      ArchivearchiveYesNo
      Import Articleimport_articleYesNo
      Is Militaryis_militaryYesNo
      Is Nuclearis_nuclearYesNo
      Machine Typemachine_typeYesNo
      Is ECCNis_eccnYesNo
      ECCN Commenteccn_commentYesNo
      System Materialsystem_materialYesNo
      Supplier CTNsupplier_ctnYesNo
      Presystem CTNpresystem_ctnYesNo
      Assembly Groupassembly_groupYesNo
      Type Of Sourcingtype_of_sourcingYesNo
      Country Of Origin Made Incountry_of_origin_made_inYesNo
      Country Of Origin Preferentialcountry_of_origin_preferentialYesNo
      Country Of Origin Non Preferentialcountry_of_origin_non_preferentialYesNo
      Type of ClassificationtypeNoYes
      Customs Tariff Numberctn_euNoYes
      VZTA Numberbti_euNoYes
      Valid Fromvalid_fromNoYes
      Valid Untilvalid_untilNoYes
      Fixedis_fixedNoYes
      Trade Designationcommercial_designation1NoYes
      Trade Designation Bcommercial_designation2NoYes
      Classification Commenttariff_classification_commentNoYes
      AL Numberslist_of_goodsNoYes
      Dual-Use Commentlist_of_goods_commentNoYes
    • The file is provided as a .csv file in "UTF-8" or "UTF-8 with BOM" format. Please ensure the correct spelling of the column names when providing the file.

    • Processed Files

    • Once processed the files are prefixed with cuta_server___processed_ and stored in the system for documentation purposes. Clients can retrieve these files if necessary, as the also are retained for 2 weeks and then automatically deleted.

    • Logs

    • Below are some log examples, which can be found under protokoll for debugging purposes.

      • File found for import <slug>.csv - Once a new file is found in the export folder
      • Processing <slug>.csv for import - When file is being processed
      • Started importing products. Initiated by SFTP Product Importer - When articles start importing successfuly.
      • CSV incorrect headers, aborting. - If file has incorrect headers
      • Product with ID: 1 has been created. Status: Gray. Initiated by Auto Updater - when successfuly created.
      • Article KP-100 already exists in the database, skipping - if an article with the same article number already exists.
      • Finished importing products - When articles import finishes. ::
      • SFTP Access

      • For SFTP communication, a port is named on a manadant-specific basis and set up by CU-TA. This address is used for the delivery and collection of the article master data.

      • Host: app.cu-ta.de
        Port: 22
        Username: Username or email address.
        Password: Your password
        
      • Summary

      • SFTP provides a secure means for clients to upload and download master data files in CSV format. The export folder contains daily exports of all article lists, while the import folder allows users to add their files for import. Processed files are retained for 2-weeks for documentation purposes and can be retrieved if needed.

      • For further assistance or inquiries regarding the SFTP functionality, please reach out to our support team at support@cu-ta.de