Home /  SFTP / 

Polling

When you exchange files with your trading partner using SFTP, it’s common to poll for new files. There are costs you incur with polling, regardless of whether your trading partner does the polling or you do. We have a couple of tips to keep these costs down.

Don’t poll yourself

Your trading partners access your files using SFTP, because it allows them to use a technology they’re familiar with. You yourself shouldn’t use SFTP to access these files, though. You have direct access to your files through Stedi Buckets and this is cheaper than Stedi SFTP. Better yet, instead of polling, you can use bucket notifications.

Adjust the polling frequency

The main factor in determining the cost involved with polling, is how often your trading partner does it. The following table shows how their polling frequency influences your monthly costs, assuming a 31-day month.

Polling frequencyCosts per month*
Once every 1 minute$6.70
Once every 5 minutes$1.34
Once every 60 minutes$0.11
* These are the costs for the polling alone, without downloading any of the files. The actual costs may vary, as it depends on the number of files that are stored in SFTP. Which brings us to our next tip.

Delete files you don’t need anymore

The typical scenario is that you make a file available containing a transaction and your trading partner downloads and processes it. You should tell your trading partner to delete the file once they’re done with it.

The costs vary based on the number of files, so deleting the files you don’t need anymore keeps the cost of polling down.

Talk to your trading partner

Even though your trading partner is doing the polling, you incur the costs because the files are hosted in your Stedi account. You should talk to you trading partner and provide them with guidelines for using SFTP:

  • Don’t poll more often than necessary.
  • Only upload files that need to be processed.
  • Only download files once.
  • Delete files once they’re processed.

If your trading partner doesn’t follow these guidelines, you have the option to revoke their credentials and they will lose access to your SFTP. You can easily create new credentials for them once you’ve resolved the issue.

Don’t poll yourselfAdjust the polling frequencyDelete files you don’t need anymoreTalk to your trading partner