unzipping uploaded files

If you have a new question you’d like our support staff to post a response to, please visit our customer community, GoAnywhere Insiders, to pose the question in our Discussion Boards. We have a thread “Ask Our Tech Experts” that our support team monitors on a regular basis, or you can start a new discussion where other GoAnywhere users and support staff can weigh in. Log in or create your new account at https://insiders.goanywhere.com.

If you need an immediate response, please create a support ticket or contact our support team by email at [email protected].
3 posts Page 1 of 1

gnussbaum

Posts: 3
Joined: Thu Apr 06, 2017 9:06 am

Post by gnussbaum » Fri Apr 28, 2017 10:12 am
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

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Tue Jul 11, 2017 2:54 pm
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

Posts: 3
Joined: Thu Apr 06, 2017 9:06 am

Post by gnussbaum » Tue Jul 11, 2017 2:59 pm
Thanks Rick, you did answer it. This post was back in April.
3 posts Page 1 of 1