The FTP Seller connector exchanges files with your own FTP, FTPS, or SFTP server. The app imports orders, products, inventory, and locations from files you upload, and writes fulfillment, product, and inventory files for you to pick up.
With this connector, you can:
- Import orders from files on your server.
- Write fulfillment files with tracking to your server.
- Import or export products and inventory.
- Create locations from your files, or one default location.
Setup
Before you begin, make sure you have:
- An FTP, FTPS (explicit TLS), or SFTP server reachable from the internet, with its host, port, user name, and password or SSH private key.
- Inbound connections from Pipe17’s IP addresses allowed on your server or firewall. See Whitelisted IPs for Connectors.
- A user that can list, read, write, rename, and delete files, and create folders, in every folder the app uses.
- Files in one format (JSON, XML, CSV Flatten, or CSV Unwind) using Pipe17 field names, or a mappings.csv file to rename fields. See Mappings and Sample Files below.
Prepare your server
- Create a dedicated FTP or SFTP user for Pipe17.
- For SFTP key sign-in, add the public key to the user’s ~/.ssh/authorized_keys file, and keep the private key for the app.
- For FTPS, install a valid TLS certificate on the server.
- Create the folders for each flow you plan to use, for example in/orders and out/fulfillments, and give the user read, write, rename, and delete rights.
Connect your FTP server in the app
- Navigate to Integrations and click Add integration.
- Search for FTP Seller channel and select it. The Connect FTP Seller channel pop-up opens.
- In Communication Protocol, choose FTP, FTPS, or SFTP.
- Set Port: 21 for FTP or FTPS, or 22 for SFTP. The pop-up pre-fills 22 even when FTP is selected.
- Enter the Host without the protocol, the Username, and the Password/Key. For an SFTP key, paste the whole private key, including the BEGIN and END lines.
- Choose the Import/Export File Type. Turn on Check Write Permissions, so Connect fails if a folder is missing or read-only.
- Click Connect.
Note: If you don’t have your credentials yet, click Add without credentials. The integration is added but doesn’t sync until you enter them on its Connection Details tab and click Save.
Confirm the connection
- Navigate to Integrations. your FTP server shows Connected. If it shows Error or Not Configured, open it, check the connection on the Connection Details tab, and click Save.
- Make sure the switch on the integration’s row is on.
- On the Settings tab, turn on Pull locations from FTP with When pulling locations set to Create default location only, and click Save. A location named after the integration appears.
- Test with one order. Turn on Pull orders from FTP, and check that the orders folder setting points to your folder. Upload a file with one order, and leave out extOrderCreatedAt, or set Exclude orders created before this date earlier. Within about 5 minutes, the order appears in Orders, and the file moves to the processed folder.
- To test fulfillments, turn on Push fulfillments to FTP, ship the test order, and check for a new file in the fulfillments folder.
Note: Folder paths that start with / are read from the top of what the user can see. Paths without / are relative to the login folder. A path can end with a file mask, such as /in/orders/*.csv.
Note: If the app can’t connect for 6 hours in a row, it turns the integration off. Fix the connection, and turn it back on.
Settings
These settings are on the integration’s Settings tab.
| Setting | Options/Default |
|---|---|
| Pull locations from FTP | On/Off. Default: Off |
| When pulling locations | Create default location only, Pull locations from FTP path defined below, Create a default location and pull locations from FTP. Default: Create default location only |
| Specify the path where locations should be pulled from | Default: /in/locations |
| Pull orders from FTP | On/Off. Default: Off |
| Specify the path where orders should be downloaded from | Default: /in/orders |
| Exclude orders created before this date | Optional |
| Process only orders with specific numbers | Optional |
| Push fulfillments to FTP | On/Off. Default: Off |
| Specify the path where fulfillments should be uploaded to | Default: out/fulfillments |
| Specify components to be included in generated fulfillment file name | Timestamp, Order Id, Entity Type (fulfillments). Default: Timestamp, Order Id |
| Process product catalog updates | Disabled, Push products to FTP, Pull products from FTP. Default: Disabled |
| Specify the path where products should be uploaded to | Default: out/products |
| Specify components to be included in generated product file name | Timestamp, Entity Type (products). Default: Timestamp |
| Specify the path where products should be downloaded from | Default: /in/products |
| Process only products with specific SKUs | Optional |
| Only create products matching following conditions | Optional |
| Only update products when significant changes are observed in source document | On/Off. Default: Off |
| Only update products when changes in source document are applied to the fields below | Optional |
| Force products catalog resync (push) | On/Off. Default: Off |
| Process inventory information | Disabled, Pull inventory from FTP, Push inventory to FTP. Default: Disabled |
| Specify the path where inventory should be downloaded from | Default: /in/inventory |
| Specify the path where inventory should be uploaded to | Default: /out/inventory |
| Specify components to be included in generated inventory file name | Timestamp, Entity Type (inventory). Default: Timestamp |
| Inventory push schedule | Push only updated inventory, Push whole inventory every 15 minutes, Push whole inventory every 30 minutes, Push whole inventory every 1 hour, Push whole inventory every 3 hours, Push whole inventory every 6 hours, Push whole inventory every 12 hours, Push whole inventory once per day. Default: Push only updated inventory |
| Process only inventory items with specific SKUs | Optional |
Mappings
Mappings can be applied to either data coming from FTP channel to Pipe17 or going to FTP channel from Pipe17.
Mappings can be used to do simple renaming of field names between source and destination. It can also be used to limit the fields for input or output to/from the FTP channel.
An additional way of doing mappings is by using a csv file called mappings.csv placed under the root folder of the FTP server.
Sample mapping file: https://drive.google.com/file/d/160dlutrTPMU5jDM4swDiwZMpyj0CSCZm/view?usp=share_link
The mapping file has 3 columns, first column is the entity type, second column is the field name in Pipe17 and third column is the field name expected in FTP. The renaming of fields works in both directions. The mappings do not affect the structure of the data, only the names of fields.
Please note that if there are any errors in the mappings.csv file the mappings will not be applied and you will not see any changes on the field names.
FAQs
- What happens when a file has an error and does not process properly?
- The file is moved to the processed folder regardless of whether the data in the file was processed without error.
- Support engineers will be able to help recover from such errors.
- What happens if a specified folder path is not available on the FTP server?
- For the folders that Pipe17 will download from – The connector fails silently and the action configured for that path does not process. Ex: if the locations folder is missing, then locations will not be pulled in to Pipe17.
- For the folders that Pipe17 will upload to – A failed event with details can be seen for the related Entity.
- How many rows / entities can a file that is downloaded by Pipe17 have?
- 5000 rows on average is okay. 10000 rows is a lot to process.
- What happens if a large file is available for Pipe17 to download?
- Pipe17 will try to load a file. If we are unable to load it, then we keep retrying.
- In the case where Pipe17 loads the file but does not process it completely, it will keep trying the last location in the file where processing stopped until it can completely process the file. In a situation where Pipe17 is unable to process the file, it keeps retrying until this file exists.
Recommendations
- Can a file that has been uploaded to the FTP server for Pipe17 to download be updated?
- We recommend that the files not be altered once they are placed on the FTP server.
- If there are any updates that need to be made, you can create a new file
- Is there any restriction on the filenames that are uploaded to FTP?
- We recommend that the files be named uniquely, this will help in troubleshooting any issues.
Samples Files
See attached "FTP Seller Sample Files.zip" for sample files.
Troubleshooting
- Connect fails with a timeout
Check the host and port, and make sure your firewall allows Pipe17’s IP addresses. - Connect fails with a sign-in error, such as FTP code 530
Check the user name and password or key in an FTP client. - Connect fails with a certificate error on FTPS
Install a valid certificate on the server. For testing only, turn on Disable TLS Validation. - Connect fails after you turn on Check Write Permissions
Create the folders shown in the settings for each flow you turned on, and give the user write and delete rights. - A file stays in the folder and nothing is imported
Check the folder path, that the file type isn’t ignored (for example .zip or .xlsx), and that the file is newer than the last processed file.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We’re here to help you succeed with your operations.
Comments
0 comments