How to Split Large Text Files Using Actions | JSCAPE

Updated by Van Glass on

This custom trigger action is used to split a large text file in GB ore more to MB.

Downloads

Source code and build instructions

 

 How to split a large text file

 Let me now show you how to implement that.

 

1. Make sure you have already open source build installed in the server

 

Before creating a custom trigger action, you need to have build installed in the server.

 

2. Create a Trigger to perform the action

 

Login into admin console of JSCAPE MFT Server > Triggers and Click Add to create a Trigger

Give the trigger a Name and then select the File Upload event type from the drop-down list. 

 

split_large_text_file_img1

Click Next to Step 2 where a condition can be set to execute the trigger.

If no conditions required Click Next  to proceed. 

 

The step 3 asks to add an action, Add the action "Split Large Text File" from drop down list. If the action not found read the build instructions (Source code and build instructions) .

Click OK to proceed

 

split_large_text_file_img2

 

The Parameters for the action "Split Large Text File" are ;

  • File
  • Destination
  • Size

 

As the name indicates, File parameter is used to split the file that gets uploaded to JSCAPE MFT Server.

Destination is the place where the smaller files has to be placed and Size indicates the size in MB to

be separated.

 

Click OK to save the settings

 

split_large_text_file_img3

That's it. Now you know how to create a trigger to split a large text file into smaller ones on file upload

 

 

Topics: JSCAPE MFT, Triggers, Actions

Get A Free Trial

Download Your 7-Day Free Trial Version of JSCAPE MFT Server.

Get Your Free Trial