You are here:
Transferring Files to an Instance in B2C Commerce
The first step in importing a feed is transferring it from an external server to the instance you want to import it into. Only XML from within a B2C Commerce instance can be uploaded or downloaded via APIs.
See the API documentation, specifically, for dw.net.HTTPClient and dw.net.FTPClient for more information.
Selecting a Transfer Method in B2C Commerce
There are different methods available for file transfer, depending on the security requirements of the instance you’re transferring files to. Use custom jobs to trigger file transfer automatically.
The transfer method you choose when transferring files from B2C Commerce to an external system depends on the security requirements of the external system.
Import transfer methods depend on the security requirements of each instance.
The easiest secure transfer method to automate is an HTTPS PUT.
Manually Add Files to Sandbox Instances in B2C Commerce
Since primary instance group instances require WebDAV to use authentication, use WebDAV to move files manually on sandbox instances. The WebDAV interface supports binary files (plain XML) and compressed files.
For a feed to appear in the Business Manager, the feed must be stored in the correct subfolder. For example, catalog appears in the Import/Export section of Products and Catalogs, while library appears in the Import/Export section of Content.
Accessing the Import/Export WebDAV share requires File Transfer Manager privileges.
To Manually Add Files Using WebDAV from a Windows Machine:
-
Click App Launcher
, and then select .
- Copy the WebDAV Access Import/Export URL.
-
Add a network place pointing to the URL. Use the name and password you use to
log on to the instance.
Sometimes, you’re asked for the name and password three times when opening new directories within the cartridge.
- Open the network place and copy the files into the Impex/src directory. You can also create directories.
