Skip to content
  • There are no suggestions because the search field is empty.

How To: Zip uploaded file using Titan SFTP Events

 

Question
How do I zip an uploaded file using Titan SFTP Events?
 
Reasoning
Automatically compressing uploaded files using a Titan SFTP Event helps streamline file processing, reduce storage and transfer size, and prepare files for downstream workflows without requiring manual intervention.
 
Answer
Create a Titan SFTP Event that triggers after a file upload and add a Zip Files action to compress the uploaded file into a ZIP archive.
 
Steps
 
1. Login to Titan Admin Web UI
2. Navigate to Domain > Server > Events > Click Add New
3. In Event Configuration Select Upload/Write successful under File Event
4. Add Action and select Zip file or Folder
5. Save and Test the event by uploading a file and verifying that the zip file is created successfully.
 
Please note: 
To zip only the uploaded file:
•Source: %FILEPATH%
•Destination: %FILEPATH%.zip
 
To zip the folder containing the uploaded file:
•Source: %FILEPATH.PATH%
•Destination: %FILEPATH.PATH%\filename.zip 
 

 

Need More Help? We’ve Got You Covered.

If you didn’t find what you were looking for, our support team is here to help. Customers with active maintenance and support can join the help desk and Submit a ticket and one of our experts will follow up shortly.