1 Overview
File Transfer Services (FTS) are used by all solutions in the Merchandising Cloud Service Suite, replacing SFTP. The services allow you to manage uploading and downloading files to or from Oracle Cloud Infrastructure Object Storage: an internet-scale, high-performance storage platform offering reliable and cost-efficient data durability.
For each customer environment, logical containers for storing objects will be created in Object Storage; these logical containers are known as buckets. Any type of data, regardless of content type, is stored as an object. Each object is composed of the object itself and metadata about the object. These objects are then stored in buckets.
Access to the buckets is through a pre-authenticated request (PAR), which is a URL for uploading or downloading files to or from the bucket. Each PAR requires no further authentication for uploading or downloading files to or from the bucket. To retrieve a PAR, you must use the appropriate file transfer REST service. The primary role of these services is to enforce authorization policies to ensure that only valid external users can call the service.
Note:
More details are available in the "File Transfer Services (FTS)" section of the Merchandising Operations Guide - Volume 2.The following File Transfer Services tutorial is only a reference to help customers use FTS services during implementation. The reference example shows an internal environment and the expectation is to change the values accordingly based on customers environments.
In this Tutorial, first the environment variables are set, followed by retrieving an OAuth token, which is then used to call the FTS services to upload or download the files.