That's because the ZIP service doesn't not handle files that are >= 2G. 
Feature request #2637949 "STAF - unzip support for large files" is already 
open at
https://sourceforge.net/tracker/index.php?func=detail&aid=2637949&group_id=33142&atid=407384.

Could you provide your .zip file to me?  e.g. Send a note to me directly 
with where I could ftp to get your file or whatever is the easier way for 
you to provide the file to me.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




Stephan Lips <stephan.l...@gmail.com> 
03/20/2009 03:17 PM

To
staf-users@lists.sourceforge.net
cc

Subject
[staf-users] FS copy resulting in corrupted and 'enlarged' (.zip) file






Greetings,

I have a large .zip file (>2G) that I am copying from one machine (WinXP) 
to another (WinXP).  On the machine where the original file resides, it 
shows with a size of  2,435,022,719, after the copy operation completes it 
shows with a file size of 4,294,967,295 on the target machine.  Subsequent 
attemps to unzip the file using the STAF ZIP service fails (predictably) 
with 

RC = 4001, Result = STAFZipCentralDir::readInData: Error in fseek to the 
end of zip stream: 4294967295

The STAX script used to copy the file is below.  Any ideas what would be 
causing this behavior (which is reliably repeatable)?  Curiously, I also 
have a .tar.gz file, which holds the lnx version of the contents of the 
.zip file.  Using the identical STAX script, that file copies just fine to 
the target (lnx) machines.

Thanks,

- Stephan

            <stafcmd>
                <location>fromMachine</location>
                <service>'FS'</service>
                <request>'COPY FILE %s TOFILE %s TOMACHINE %s' % 
(fromFile, toFile, toMachine)</request>
            </stafcmd>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to