Pre-requisites for Data Import/ Export

 

Content was last updated in 06.23.02-00

Revision History

 

 

  1. Build and deploy an Application server. This is used for the following steps...

  1. Importing the data through SFTP

  2. Exporting the data through SFTP

  1. Build and deploy an SFTP (Secure FTP) server.

  1. This server has the following folders. The naming convention folder the folders follow the same standard pattern.

  2. /SFTP/upload/CategoryFeed >>> All the source and destination files for this type of feed is saved in this folder.

  3. /SFTP/upload/SubCategoryFeed >>> All the source and destination files for this type of feed is saved in this folder.

  4. /SFTP/upload/ProductFeed >>> All the source and destination files for this type of feed is saved in this folder.

  5. /SFTP/upload/PackageFeed >>> All the source and destination files for this type of feed is saved in this folder.

  6. /SFTP/upload/ImageFeed >>> All the source and destination files for this type of feed is saved in this folder.

  7. /SFTP/download/priceFeed >>> All the source and destination files for this type of feed is saved in this folder.

  8. /SFTP/download/itemFeed >>> All the source and destination files for this type of feed is saved in this folder.

 

See a screenshot of the sample folder-tree structure.

The folder names depicted in the tree-structure are only used as an example.

The actual folder names and its hierarchy will depend on which all Data Conversions have been imported/exported.

When the script runs, it automatically creates the required folders in the defined hierarchy.

 

  1. Each of the above folders, will have the following three sub folders...

  1. ../Failure/ >>> If the Import/Export 'does not completes successfully' the CSV file is moved to this folder.

  2. ../Success/ >>> If the Import/Export completes successfully the CSV file is moved to this folder.

  3. ../Logs/    >>> All the logs are automatically stored in this folder.

See the file's screenshot with descriptive references. Click here to open an actual sample file.

See the file's screenshot with descriptive references. Click here to open an actual sample file.

See the file's screenshot with descriptive references. Click here to open an actual sample file.

 

  1. All these folders should have read and write access enabled.

  1. Transferring the files between the servers is done through Python script.

  2. If you need assistance to install Python on the server, please contact UBS Project Managers.

  1. Need to setup SSH key based authentication to the SFTP server