
Contributor III
2011-07-25
06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[resolved] Does tFileUnarchive support 7z files ? [Negative seek offset] Error
Hi,
Dunno if it's worth oppening a "bugtracker" but i have an issue with using the tFileUnarchive component with 7z file.
When trying to unzip in TIS here is what i got :
I can unzip the file in windows with winrar without problem. I had no trouble with ZIP files with this procedure.
Any idea ?
Rude
Dunno if it's worth oppening a "bugtracker" but i have an issue with using the tFileUnarchive component with 7z file.
When trying to unzip in TIS here is what i got :
connecting to socket on port 3438
connected
Processing archive d:/file.7z, please wait...
Exception in component tFileUnarchive_1
java.io.IOException: Negative seek offset
at java.io.RandomAccessFile.seek(Native Method)
at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:365)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:243)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:142)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:113)
at informix_exapaq.ftp_0_1.ftp.tFileUnarchive_1Process(ftp.java:476)
at informix_exapaq.ftp_0_1.ftp.runJobInTOS(ftp.java:741)
at informix_exapaq.ftp_0_1.ftp.main(ftp.java:615)
disconnected
I can unzip the file in windows with winrar without problem. I had no trouble with ZIP files with this procedure.
Any idea ?
Rude
521 Views
1 Solution
Accepted Solutions

Anonymous
Not applicable
2011-09-01
11:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
for a project, we have to get an archive file by ftp.
this archive was zipped by 7z and had the extension ".7z".
do you have any idea for how to unzip it thanks to talend EE 4.2.2?
we cannot zip it with ".zip". we can just exploite the file.
regards
fred
Hi
Yes, it is possible, you have to install 7-zip on the machine and use tSystem component to call the command to unzip the archive file. for example:
"cmd /c 7z e d:/file/in.7z oc:/file/"
d:file/in.7z the path of archive file
c:/file/ the path of target directory.
Best regards
Shong
521 Views
6 Replies

Anonymous
Not applicable
2011-07-25
09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Which version of TIS/TOS are you using? You are using tFileUnarchive to unzip a archive file zipped by 7z, right?
Best regards
Shong
Which version of TIS/TOS are you using? You are using tFileUnarchive to unzip a archive file zipped by 7z, right?
Best regards
Shong
521 Views

Contributor III
2011-07-25
09:27 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do.
TIS 4.2.2
TIS 4.2.2
521 Views

Anonymous
Not applicable
2011-07-25
09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
It does not support the extension ".7z", you need to zip the file with ".zip" and it should be ok.
Best regards
Shong
It does not support the extension ".7z", you need to zip the file with ".zip" and it should be ok.
Best regards
Shong
521 Views

Contributor III
2011-07-25
09:49 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh ok.
Because the french tooltip is saying : "Extract data from a file of any type" So i thought 7z was supported.
Thank you.
Because the french tooltip is saying : "Extract data from a file of any type" So i thought 7z was supported.
Thank you.
521 Views

Anonymous
Not applicable
2011-09-01
10:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
for a project, we have to get an archive file by ftp.
this archive was zipped by 7z and had the extension ".7z".
do you have any idea for how to unzip it thanks to talend EE 4.2.2?
we cannot zip it with ".zip". we can just exploite the file.
regards
fred
for a project, we have to get an archive file by ftp.
this archive was zipped by 7z and had the extension ".7z".
do you have any idea for how to unzip it thanks to talend EE 4.2.2?
we cannot zip it with ".zip". we can just exploite the file.
regards
fred
521 Views

Anonymous
Not applicable
2011-09-01
11:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
for a project, we have to get an archive file by ftp.
this archive was zipped by 7z and had the extension ".7z".
do you have any idea for how to unzip it thanks to talend EE 4.2.2?
we cannot zip it with ".zip". we can just exploite the file.
regards
fred
Hi
Yes, it is possible, you have to install 7-zip on the machine and use tSystem component to call the command to unzip the archive file. for example:
"cmd /c 7z e d:/file/in.7z oc:/file/"
d:file/in.7z the path of archive file
c:/file/ the path of target directory.
Best regards
Shong
522 Views
