ipworkszip error

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

ipworkszip error

Postby 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.
llovelace
 
Posts: 2
Joined: Wed Jan 05, 2011 9:04 am

Re: ipworkszip error

Postby 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
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 225
Joined: Tue Jul 17, 2012 2:12 pm

Re: ipworkszip error

Postby llovelace » Mon Jul 22, 2013 3:20 pm

Rick - No one is in the files. What else might this error indicate?
Thanks
llovelace
 
Posts: 2
Joined: Wed Jan 05, 2011 9:04 am

Re: ipworkszip error

Postby 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 Support@Linoma.com and I will be happy to take a look at your project and see what the issue is.
Rick Elliott
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 225
Joined: Tue Jul 17, 2012 2:12 pm

Re: ipworkszip error

Postby 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
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 225
Joined: Tue Jul 17, 2012 2:12 pm


Return to Community Forum

Who is online

Users browsing this forum: No registered users and 0 guests