Skip to content

unzipping uploaded files

Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
If you need a quicker response, please create a support ticket via the customer portal my.goanywhere.com or contact our support team by email at [email protected].
  • gnussbaum Offline
  • Posts: 3
  • Joined: Thu Apr 06, 2017 9:06 am

unzipping uploaded files

Post by gnussbaum »

Hello,

I currently have a ticket in with GA support but figured I'd ask here as well. We currently have a setup/form where our customers upload files to us. The associated project then uses logic based on info and appends a suffix to the document name. This works great except when a customer uploads a .zip file. We actually need the files inside the zip.

How could we unzip these files after the customer uploads them within the project?
  • Support_Rick Offline
  • Support Specialist
  • Posts: 590
  • Joined: Tue Jul 17, 2012 2:12 pm
  • Location: Phoenix, AZ
  • Contact:

Re: unzipping uploaded files

Post by Support_Rick »

I thought we answered this for you .. but, do you still need help with it?

In a nutshell ...

Receive the file(s) via Secure Forms
loop through the FileList uploaded (to process one at a time)
Check to see if file is a "zip" / "compressed" file.
If it is, go through unzip function
if not, copy to destination.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
  • gnussbaum Offline
  • Posts: 3
  • Joined: Thu Apr 06, 2017 9:06 am

Re: unzipping uploaded files

Post by gnussbaum »

Thanks Rick, you did answer it. This post was back in April.
Post Reply