Creating File Transfer Scripts

You can use WebDAVClient, FTPClient, or HTTPClient in your file transfer script to move files from your backend system into Salesforce B2C Commerce.

We recommend that the file names for transfer include the date, so that the pipeline can identify if the correct file for import is in the correct location and can remove files from the archive efficiently. This approach requires you to create a script that can generate the expected file name for comparison to the actual file name. For example, the pipeline expects the catalog-jul-08.xml file and instead finds jun-08.xml, it can generate an error.

The least complicated file transfer pipeline to write is that for a WebDAV connection with an HTTP GET or POST, because such a pipeline doesn't require you to create an SSL connection.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.