Js SFTP sync

Js SFTP sync help

Js SFTP sync keeps your Shopify products and stock in step with files from your ERP, your supplier or any system that exports files. The files arrive in a private FTP folder, or you upload them in the app.

Getting started

  1. Install the app and approve a plan. Shopify bills it with your store's bill, and you can change or cancel it from the app's Home page.
  2. Open the app in Shopify admin. Home shows your FTP access: host, port, username and password.
  3. Give that login to your ERP, supplier or whatever exports your files, and have it send them to your folder. You can also upload a file yourself, in Files.
  4. In Files, choose Set up on a file. Say what it contains, check what each column means, and choose its location and rules.
  5. Choose Run once to see what the file would change in your store, then import it. Turn its setup on to sync matching files by themselves.

Try it with sample files

Three versions of the same file, products.csv, as an ERP would send it each time. They create products named "Sample", so try them on a development store.

  1. Version 1: upload it in Files and set it up as Products and quantities, keeping the suggested columns and choosing a location. Run once shows 4 products with 12 variants to create. Import it: they're created as drafts, with their stock.
  2. Version 2: upload it. Its setup syncs it right away, and sets 5 quantities. Setups and runs shows the run and its report.
  3. Version 3: every quantity is 0. The run pauses before writing anything, and waits for you to check it.

Your FTP access

  • The folder uses SFTP (FTP over SSH), on the port shown on Home. Plain FTP and FTPS aren't offered.
  • It holds up to 500 MB. Files shows how much is used, and Delete removes a file you don't need. A file uploaded again with the same name replaces the earlier one.
  • Upload each file in one go. Tools that resume uploads or send files in parts can leave a file cut off. The app spots files that look cut off, and doesn't sync them.
  • Reset password on Home sets a new password. Uploads stop until whatever sends your files has it.
  • When logins with your username keep failing, for example with an old password, Home warns you. After 15 in half an hour, the FTP server blocks the address they come from. Home then says so, you get an email if you entered an alert address, and Unblock lets files in again once the password is fixed.

Files the app reads

  • CSV files, separated by commas, semicolons, tabs or pipes, in UTF-8 or Windows-1252, JSON files, and Excel (.xlsx) files. Excel files are read from their first sheet, and dates come through as Excel's date numbers, such as 45678 for January 21, 2025.
  • Up to 20 MB each, with a header row that names the columns.
  • The app suggests what each column means, such as SKU, quantity, price, product name, style, or an option like size or colour. You can change any of them.
  • Rows are matched to Shopify by SKU. A SKU used by more than one variant in Shopify is left alone.
  • A file a setup synced is deleted 30 days after it arrived, once a newer file for the same setup has come, so a folder that gets a new dated file each day doesn't fill up. Each setup's latest file is kept.

Setups

A setup tells the app how to read the files whose names match its pattern, such as stock_*.csv, where * is any text.

  • Quantities only updates stock at one location. Products and quantities also creates the products that aren't in Shopify yet, as drafts unless you choose otherwise, and can publish them to the sales channels you pick, such as your online store. A product with a price of 0 always stays a draft, so nothing sells for free.
  • For products already in Shopify, the quantity changes, and new sizes and colours of a style are added to its product. A setup can also update their price, compare-at price, cost, name, description and tags: tick the ones to update. Empty cells and prices of 0 leave what's in Shopify, tags are only added, and options are never changed.
  • SKUs missing from the file can have their stock set to 0, for files that list every SKU in stock.
  • A setup runs each time a matching file arrives, or every 15 minutes, every hour, or once a day.
  • Edit, delete, or turn a setup on and off in Setups and runs. Deleting one deletes its run history, and keeps its files.

Runs and safety limits

  • Each sync is a run. Setups and runs lists them, with what each changed and a report you can open or download.
  • Run once starts with a dry run: what the file would change, with nothing written yet.
  • A run that would drop a lot of stock to 0 at once, cut many prices by half or more, or a file with far fewer rows than the last one, pauses before writing anything. Check why, then choose Run anyway, or upload a corrected file.
  • Enter an email address under Alerts in Setups and runs to get an email when a run fails or pauses: at most one a day per setup, until one of its runs succeeds. Each setup can also email you when no file arrives for a day, 2 days or a week.

Exporting quantities

The app can write a file of your committed quantities, what's ordered and not yet fulfilled, to your FTP folder every 5 minutes, for your ERP or whatever reads your stock to collect. Turn it on in Setups and runs.

  • One file for all your locations, with a LOCATION column, or one file per location, named after it, such as committed_001.csv.
  • Committed quantities only, or committed and on hand.
  • Every SKU stocked at a location is listed, with 0 when nothing is committed. Each file replaces the last, and counts toward your folder's space.
  • Turning it off deletes the files it wrote.

Plans

  • Free trial, 14 days: up to 1,000 SKUs and 1 setup.
  • Standard, $20 a month: up to 10,000 SKUs and 5 setups.
  • Large, $50 a month: up to 50,000 SKUs and 20 setups.

SKUs are those your files sync: the different SKUs in your setups' files that are in Shopify, plus the products a file would create. Files for several locations with the same SKUs count them once. Every plan syncs as often as your files arrive, or every 5 minutes.

A sync that would take your store past its plan's SKUs writes nothing, and syncing stops until the 1st of next month, or until you choose a larger plan from the app's Home page. During the free trial, it stops until your plan starts. Either way, it starts again once your files are within the limit: import a smaller file with Run once, or delete a setup. Home shows your plan and how much of it you use.

Uninstalling

Syncing stops, and your FTP login is turned off. Install the app again within 48 hours to pick up where you left off. After 48 hours, Shopify asks the app to erase your store's data: your files, setups, run history and FTP login are deleted. See the privacy policy.

Contact

Email js@builtbyjs.ca. Include your store's address, such as your-store.myshopify.com, and the file or run you're asking about.