ipworkszip error

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
5 posts Page 1 of 1

llovelace

Posts: 3
Joined: Wed Jan 05, 2011 9:04 am

Post by llovelace » Mon Jul 22, 2013 1:16 pm
Getting this error when trying to zip up a bunch of files. The files do not have an extension on them. Could that be the problem? Thanks!

ERROR ipworkszip.IPWorksZipException: Could not open file for read.

Support_Rick

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

Post by Support_Rick » Mon Jul 22, 2013 1:35 pm
Usually this would indicate that another job/process has the file open thus, not making it available for reading.

Make sure any pre-defined job that might be creating the files to be zipped has completed and the files have been released prior to the zip task execution.

The extension on the file name shouldn't be an issue.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

llovelace

Posts: 3
Joined: Wed Jan 05, 2011 9:04 am

Post by llovelace » Mon Jul 22, 2013 3:20 pm
Rick - No one is in the files. What else might this error indicate?
Thanks

Support_Rick

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

Post by Support_Rick » Mon Jul 22, 2013 4:16 pm
Please send a copy of your Project XML and a Job Log set for DEBUG to [email protected] and I will be happy to take a look at your project and see what the issue is.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Support_Rick

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

Post by Support_Rick » Tue Jul 23, 2013 8:15 am
The issue seems to be the use of a wildcard (*.*) in your single inputFile prompt. Change this to a FileSet and try again...

Code: Select all
From this:
<zip inputFile="/Public/FDM/*.*" outputFile="/Public/FDM/acctfolio.zip" version="1.0" logLevel="debug" />

To this:
<zip outputFile="/Public/FDM/acctfolio.zip" version="1.0" logLevel="debug">
     <fileset dir="/Public/FDM" />
</zip>
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
5 posts Page 1 of 1