Hi all,
I was transferring a bunch of files by ftp. I sent everything over to the remote server before realising it had all gone over in ASCII mode. I then tried to send all my openoffice documents over in BINARY mode... but instead of typing "mput *.sxw", I typed "mget *.sxw" thereby obliterating my originals with the newly borked copy.
I now have several OO.o docs (well, zip files effectively), that have transferred via ascii mode so won't open or unpack properly. Is there any way whatsoever that I can recover these documents, even if it's just the content.xml file from the zip? I've trawled google and all I find is a lot of pages telling me (helpfully) in big bold text "Alway transfer zip files in binary mode".
"zip -F" and "zip -FF" are no help. this is the output when I attempt to unzip:
error [a2.zip]: missing 42 bytes in zipfile
(attempting to process anyway)
error [a2.zip]: attempt to seek before beginning of zipfile
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
(attempting to re-compensate)
replace Pictures/100002000000001200000012EA5D6875.gif? [y]es, [n]o, [A]ll, [N]one, [r]ename: n
replace layout-cache? [y]es, [n]o, [A]ll, [N]one, [r]ename: n
file #3: bad zipfile offset (local header sig): 1164
(attempting to re-compensate)
file #3: bad zipfile offset (local header sig): 1164
file #4: bad zipfile offset (local header sig): 8150
file #5: bad zipfile offset (local header sig): 9656
file #6: bad zipfile offset (local header sig): 10879
file #7: bad zipfile offset (local header sig): 12055
I'm desperate to get these files back if someone can help.