Using FTP
You can create an FTP client within your instance using the Salesforce B2C Commerce script class FTPClient. B2C Commerce also supports secure FTP (sFTP), which is recommended for moving files with sensitive information.
Using FTP to move data between merchant systems and B2C Commerce isn't secure, because the FTP connection isn't encrypted. We donβt recommend using FTP on staging or production systems. The connection isn't PCI-compliant, unless you write custom code to encrypt and decrypt the data before and after transfer.
Note: By default, the FTPclient get method uses the
"ISO-8859-1" encoding. However, you can use an overloaded version of the
method to specify UTF encoding instead.