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

How to automatically transfer files from SFTP to azure blob storage via trading partner

Words by

John Carl Villanueva

In a previous post, we taught you how to automatically transfer files from SFTP to Azure Blob Storage using a JSCAPE MFT Server network storage object. This time, we’ll show you how to do it using a trading partner object.

Published in:

Blog

/

Business Process Automation, JSCAPE MFT, Managed File Transfer, Tutorials

In a previous post, we taught you how to automatically transfer files from SFTP to Azure Blob Storage using a JSCAPE MFT Server network storage object. This time, we’ll show you how to do it using a trading partner object.

Watch the video

Would you prefer to watch a video showing how to automatically transfer files from SFTP to Azure Blob Storage via Trading Partner? If so, you may play the video below. Otherwise, just skip it if you wish to continue reading.

If you recall, a network storage is suitable for cases when you want SFTP-uploaded files to be transferred straight to Azure Blob Storage upon upload. Meaning, none of those files will ever have to be stored on a drive directly attached to your JSCAPE MFT Server instance. But what if you want those files to be stored locally, either temporarily or permanently, and then automatically transfer those files to Azure Blob Storage at a later time? A more suitable solution for this would be to use an Azure Blob Storage trading partner object in conjunction with a trigger. We’ll show you how to set up that solution here; if you’re ready now, talk with your account manager for a free trial.

First, let me assume you already have an Azure Blob and perhaps a folder underneath it, where you want to transfer your SFTP-uploaded files into. In my case, I have an Azure blob named ‘jcpv-test’ and a folder named ‘folder1’ where I’m going to transfer my SFTP-uploaded files to.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 01

Let’s now head back to our JSCAPE MFT Server instance. As you can see, I have an SFTP service here. This is the SFTP service through which files will be initially uploaded to.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 02

In our Users module, we have a user account named tp1. Let’s say, for example, this user account …

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 03

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 04

… has a virtual path named ‘fors3’ and it’s mapped to the local path C:\for_s3.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 05

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 06

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 07

So, when tp1 connects via SFTP and uploads files to the virtual path named ‘/fors3’, those uploaded files will be stored in the local path C:\for_s3.

Ok. Just take note of that.

Let’s now proceed to our Trading Partners module and create a trading partner object …

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 08

… with protocol type Microsoft Azure Blob Service.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 30

Let’s give this trading partner object a name, say, ‘tp-azureblob’.

Because the Azure blob we’ll be connecting to requires a secure connection, I’m just going to check the Use SSL checkbox here.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 10

Next, let’s enter our Azure storage account name and its corresponding access key.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 11

And then let’s click the Test Server button to test the connection.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 12

If the test succeeds, we can then click all succeeding OK buttons until we’re back at the main screen.

Now that we have our Azure Blob trading partner object ready, the next step is to create a trigger that would automatically transfer those SFTP-uploaded files to Azure Blob via our newly created Azure Blob trading partner.

Let’s navigate to our Triggers module and add a new trigger.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 13

We’re then given the option to specify a trigger template that best suits our desired workflow. Let’s just skip using a template for now and just click OK.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 14

Next, give your trigger a name, say, ‘weekend uploads to s3’.

Because we want this trigger to fire on a predefined schedule, let’s select the Current Time event type and then click Next to proceed.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 15

In the Trigger Conditions dialog, we’ll build an expression that lets this trigger execute every Saturday at 11:30 PM.

For more information on using the Expression Builder, read the post Introducing the New Trigger Conditions Expression Builder.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 16

After clicking Next, we’ll be brought to the Trigger Actions dialog, where we can add a new trigger action. Let’s click Add to add a new trigger action.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 17

The trigger action we’ll be using is the Trading Partner Regex File Upload action. This trigger action will use a regular expression to match a set of files in a specified local directory and then upload those files to a specified trading partner.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 18

First, we need to select the Azure Blob trading partner we created earlier. Next, we need to specify the local directory where this trigger action will retrieve files from. We want this action to retrieve files from the same local directory where those SFTP-uploaded files are stored, so we just select ‘C:\for_s3’.

We then pick Wildcard from the Expression Type drop-down list and then enter ‘*.*’ in the Regular Expression field. This will match all files in the specified local directory.

Lastly, we enter the destination Azure Blob folder path into the Remote Directory field. So, in our case, that would be ‘jcpv-test/folder1’.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 19

In the event you wish to delete the original files after a successful upload, you may tick the Delete on Success check box. Once you’re done, click OK.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 20

Lastly, drag an arrow from the Start output of the Workflow node to the Execute input of the Trading Partner Regex File Upload node. For more information on how to work with these flowcharts, read the blog post Introducing the Redesigned Trigger Action Workflow.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 21

Once you’re done, click OK until you’re back at the main screen.

How To Automatically Transfer Files From SFTP To Azure Blob Storage Via Trading Partner - 22

That’s it. Now you know how to automatically transfer files from SFTP to Azure Blob Storage using a JSCAPE MFT Server trading partner object.

Try this yourself

Would you like to try this yourself? Request a free trial of JSCAPE MFT Server now.

 

Click here to request your free trial.

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