JSCAPE
  • Products
    • Managed File Transfer
    • JSCAPE SaaS
    • MFT Gateway
    • MFT Monitor
    • All Products
  • Solutions
    • All Solutions
    • Secure File Transfer
    • AS2 Server Software
    • File Synchronization
    • Reverse Proxy
    • Compliance
    • DMZ Streaming
  • Pricing
  • Company
    • Blog
    • Company
    • Contact Us
    • Clients
    • Case Studies
    • Testimonials
    • Certifications
  • Support
    • Help Desk
    • Documentation
    • Customer Downloads
Get a demo

Downloading files periodically from a trading partner

Words by

John Carl Villanueva

Overview In this post we’re going to show you how to download files periodically from a trading partner. For this particular example, we’ll be setting up JSCAPE MFT Server to connect to a trading partner every 10 minutes, download all files from a particular folder, and then delete each of those files from the remote…

Published in:

Blog

/

Business Process Automation, JSCAPE MFT, Triggers

Overview

In this post we’re going to show you how to download files periodically from a trading partner. For this particular example, we’ll be setting up JSCAPE MFT Server to connect to a trading partner every 10 minutes, download all files from a particular folder, and then delete each of those files from the remote server as soon as the download succeeds.

periodic download.png

Prefer to watch a video version of this instead?

 

 

We’ll be assuming you already have an existing trading partner object configured on your JSCAPE MFT Server instance. The trading partner can be pointing to almost any file transfer server, including AFTP, AS2, FTP, FTPS, SFTP, and many others. If you’re not familiar with trading partners in the context of JSCAPE MFT Server, we suggest you watch the video: Using Trading Partners.

trading partner screenshot.png

Once you have a trading partner object set up, create a new trigger. For those who are not yet familiar with triggers, watch the video: Automating File Transfer Processes Using Triggers.

Give the new trigger a descriptive name, say “S3 TP 10 Minute Periodic Download and Delete”.

After that, select the Current Time event type.

Click Next to proceed.

trading partner 10 minute periodic download and delete.png

Because we want this trigger to fire every 10 minutes, we need to write an expression for that. You may write the expression manually but the easiest way would be to use the Time Expresssion tool. Click the button labeled Time Expression to launch that tool…

10 minute intervals-1.png

and then, in the Minute text field, enter 0,10,20,30,40,50.

10 minute intervals time expression.png

After clicking OK, JSCAPE MFT Server will automatically generate the corresponding expression in the Trigger Conditions box likeso. Click Next to proceed.

10 minute intervals trigger condition.png

We’re now ready to add the trigger action that would connect to your trading partner, download all files from a particular directory, and then delete each file after each successful download.

Click the Add button to add that trigger.

add trigger.png

For this purpose, we’ll need the Trading Partner Regex File Download trigger action. Select that from the drop down list and then click OK.

trading partner regex file download.png

As soon as the trigger action parameters dialog appears, select the trading partner from the Partner drop down list.

You will also have to specify the remote directory or subdirectory which you will be downloading files from.

Because we want to download all files, just enter *.* into the regular expression field. If you want to download specific sets of files, then you’ll have to enter the appropriate regular expression into that field.

Now, because we’re using *.*, we’ll need to select Wildcard for the Expression Type. Otherwise, select Regular Expression.

You’ll also need to specify the Local Directory into which the downloaded files will be stored.

Lastly, because we want to delete each downloaded file from the remote directory, tick the Delete on Success checkbox.

trading partner regex file download parameters.png

Click the OK buttons until you’re back at the main screen.

new periodic download trigger.png

That’s it. Now you know how to configure JSCAPE MFT Server to carry out periodic downloads from a trading partner.

Get started

Want to try this out? Fill out a form to be eligible for a free trial of the JSCAPE MFT Server.

 

Click here to submit a request.

Easy To Deploy, Easy To Administer, Easy To Manage

Ready to see how JSCAPE makes managed file transfer so much simpler? Schedule your demo now.

Request a demo

Popular Articles

View more by

JSCAPE
  •  
    1–2 minutes
    23/09/2025

    JSCAPE by Redwood, version 2025.3: New UI continues to make a splash

    Dive back into JSCAPE by Redwood with version 2025.3, bringing more modern UI updates to make using and navigating JSCAPE more intuitive. 

    Read article

  •  
    1–2 minutes
    19/08/2025

    Weathering the economic storm: Expert support is your enterprise file transfer system’s lifeline

    The global economic landscape can be described by one word: “uncertain”. Lingering effects from the 2020 pandemic, combined with new waves of international tariffs throughout 2025, have…

    Read article

  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    23/07/2025

    Avoid downtime and threat actors: Getting the best of both worlds in MFT

    For enterprise organizations relying on managed file transfer (MFT) solutions, cybersecurity often feels like an arms race. The need to patch MFT software vulnerabilities to prevent breaches…

    Read article

Related Content

Read more about

JSCAPE MFT
  •  
    1–2 minutes
    30/07/2025

    Escape the grip: Why flexible MFT is key to enterprise agility

    Break free from costly vendor lock-in Let’s be blunt: some MFT vendors have built product suites that are less about true partnership and more about proprietary siloing.…

    Read article

  •  
    1–2 minutes
    03/07/2025

    Consolidate, deploy and thrive: JSCAPE’s formula for MFT success in uncertain times

    Global enterprises today are navigating a landscape marked by significant economic volatility. Fluctuating markets, shifting trade policies and persistent economic uncertainty are compelling enterprise organizations to reevaluate…

    Read article

  •  
    1–2 minutes
    31/03/2025

    SFTP vs. FTPS: Which file transfer software is best for business use?

    What is SFTP? SFTP is a file transfer protocol that’s normally packaged with Secure Shell (SSH), the network protocol most IT administrators use to access and manage…

    Read article

  •  
    1–2 minutes
    25/03/2025

    EDI integration with trading partners: 6 best practices

    Many large companies with high-volume transactions, especially those involved in e-commerce, manufacturing and retail supply chains, have long migrated from manual processes to Electronic Data Interchange (EDI).…

    Read article

Company

  • About Us
  • Contact Us
  • Clients
  • Case Studies
  • Testimonials
  • Privacy Policy
  • Certifications

Resources

  • Managed File Transfer
  • Secure File Transfer
  • Secure FTP Server
  • AS2 Server
  • Reverse Proxy
  • File Upload Processing
  • What Is An AS2 Server?

Support

  • Help Desk
  • Documentation
  • Customer Downloads
JSCAPE

Copyright © 2025 JSCAPE

  • Privacy Policy
  • Cookie Settings