DOWNLOAD A FREE TRIAL

How to Zip Outgoing Files with Diplomat MFT Enterprise Edition

by | Jun 15, 2017

This tech tip explains how to zip files in Diplomat MFT Enterprise Edition before transferring the files.
STEP 1: Locate the Commands panel with a field named Execute Before File Transfer Job at the bottom of the Diplomat MFT transaction screen.

zip files with pre-command

STEP 2:  Add a zip command to the file transfer job by entering a command like following into the Execute Before File Transfer Job field.

When zipping with 7-Zip:

"C:\Program Files\7-Zip\7z.exe" a -t7z "C:\dir2\file.zip" "C:\dir1\*.txt"
When zipping with WinZip:

"C:\Program Files\winzip\wzzip.exe"  -a "C:\dir2\file.zip" "C:\dir1\*.txt"

The two parameters needed are:

  • Fully qualified path name of the zip file to be created (e.g., C:\dir2\file.zip).
  • Fully qualified path name of the files to be zipped (e.g., C:\dir1\*.txt).

STEP 3: Right-click on the transaction ID in the left nav and select Run Now  to execute a test job.

Test zipping files before transfers