Download attachments
The import routine will download attachments supplied via an internet source and make them available with the product. Attachments supplied as a physical file means less overhead than downloading a file per attachment.
Since data delivery with attachments can take a relatively long time, it may be better in some cases to publish price information separately first.
Technical specifications
- Attachments that require downloading
(AttachmentLocationType=URL) must be directly downloadable. They must be downloadable resources, not web pages or JavaScript-driven functionality.
Avoid rate limiting or aggressive DOS prevention on data transmissions from 2BA. This prevents unnecessary timeouts or incomplete downloads.
- User Agent
2BA does not specify an explicit User Agent and uses the default value produced by the .NET HTTP stack.
- Redirects
– HTTP-statuscodes 300–399 are honorerd.
– Redirects may be used, provided they lead to a directly downloadable file.
- TLS-support
2BA does not currently support TLS 1.3.
- Endpoint Accessibility
The endpoints for attachments must be reachable anonymously. IP blocking is permitted, but please be aware of the IP ranges 2BA uses. 2BA downloads from the IP address: 37.139.140.51 Only downloads via the following ports are permitted: 80 (http), 443 (https) and 21 (ftp).
- IP-whitelisting
If you use IP whitelisting, add the following addresses to your allowed list to prevent connection issues:
37.139.140.51
37.139.137.15
37.139.137.13
37.139.137.69
37.139.136.96/27