Problem archiving from shares between 4.01 and 6.01
-
;-)
-
Hi!
I’m working on a new script for use with PACL and during the tests of it I discovered some new information regarding the problem described in this thread.Hi guys,
Let me confirm this:
so there are 2 issues:
1. You want drive/share included into the path
2. If we have multiple share paths in list file, it will not work. Only single line works?thanks!
I have tested this with 2 different list files
List file with one row (Listfile_Singlerow.txt)Q:\Dokument\Amiga\*.pcxList file with two rows (Listfile_Doublerow.txt)
Q:\Dokument\Amiga\*.pcx R:\Cinemaware\*.adfRunning the command with single line list row
Q:\>pacomp -a -p Test_PACOMP_ListSingleRow.zip @Listfile_Singlerow.txt PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2 Internet: http://www.powerarchiver.com Email: support@conexware.com Archive: Q:\Test_PACOMP_ListSingleRow.zip preparing to compress... adding: REFSCAN1.PCX --> Done. [23%] adding: REFSCAN2.PCX --> Done. [41%] adding: REFSCAN3.PCX --> Done. [53%] adding: REFSCAN4.PCX --> Done. [71%] adding: REFSCAN5.PCX --> Done. [89%] adding: REFSCAN6.PCX --> Done. [100%] All OK Q:\>Running the same command with double line list row
Q:\>pacomp -a -p Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2 Internet: http://www.powerarchiver.com Email: support@conexware.com Archive: Q:\Test_PACOMP_ListDouble.zip preparing to compress... *** ERROR (): DefaultDir *** WARNING: Nothing to add or update... 1 error(s) encountered Q:\>Now if I change the command in PACOMP from -p to -P and run it again with double line list row
Q:\>pacomp -a -P Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2 Internet: http://www.powerarchiver.com Email: support@conexware.com Archive: Q:\Test_PACOMP_ListDouble.zip preparing to compress... adding: Dokument\Amiga\REFSCAN1.PCX --> Done. [0%] adding: Dokument\Amiga\REFSCAN2.PCX --> Done. [1%] adding: Dokument\Amiga\REFSCAN3.PCX --> Done. [1%] adding: Dokument\Amiga\REFSCAN4.PCX --> Done. [2%] adding: Dokument\Amiga\REFSCAN5.PCX --> Done. [2%] adding: Dokument\Amiga\REFSCAN6.PCX --> Done. [3%] adding: Cinemaware\ICFTD21.adf --> Done. [11%] adding: Cinemaware\ICFTD22.adf --> Done. [20%] adding: Cinemaware\ICFTD23.adf --> Done. [29%] adding: Cinemaware\it_came_from_the_desert-1.adf --> Done. [38%] adding: Cinemaware\it_came_from_the_desert-2.adf --> Done. [47%] adding: Cinemaware\it_came_from_the_desert-3.adf --> Done. [55%] adding: Cinemaware\Tvbaskt1.adf --> Done. [64%] adding: Cinemaware\TVBASKT2.ADF --> Done. [73%] adding: Cinemaware\tvsportboxing.adf --> Done. [82%] adding: Cinemaware\TVSportsBaseball-1.adf --> Done. [91%] adding: Cinemaware\TVSportsBaseball-2.adf --> Done. [100%] All OK Q:\>As you can see, the results is now successful. The problem appears when you are using the -p parameter in the command, but if you are using the -P parameter instead, multiple rows in list files works without any problem.
I haven’t tested this with \<machine><sharename>\ in list files but most likely it will work the same depending on if you use the -P parameter.
I believe we can remove issue 2 from the list, however I would like to know why it works with -P but not with -p
Kind Regards
Micke</sharename></machine> -
p|P : store relative Pathnames|store full Pathnames
;-)
-
p|P : store relative Pathnames|store full Pathnames
Yes, I know that, but the error message doesn’t indicate that the parameter p is the problem.
Maybe this should be mentioned in the documentation of PACL that the command -p in combination with a list file could cause error messages if the list file contains more than one row.
Kind Regards
Micke -
Yes, I know that, but the error message doesn’t indicate that the parameter p is the problem.
Maybe this should be mentioned in the documentation of PACL that the command -p in combination with a list file could cause error messages if the list file contains more than one row.
Kind Regards
Mickebut thats an bug ;-)…. so in next update, it will be fixed.
-
but thats an bug ;-)…. so in next update, it will be fixed.
Thanks, the reason for bringing this up again was that the first test indicated that there was always error messages when using list files with multiple lines. When I found out that it worked with more than one line by using the P parameter I thought that maybe it wasn’t a bug but incorrect parameter setting.
Anyway, thanks for the information. Looking forward the next update of PACL
Kind Regards
Micke -
I haven’t tested this with \<machine><sharename>\ in list files but most likely it will work the same depending on if you use the -P parameter.</sharename></machine>
No it doesn’t - unfortunately.
E:\PACL6>ver Microsoft Windows XP [Version 5.1.2600] E:\PACL6>type pacl6prob.lst \\DTTST03\Data\pacltest\*.* \\DTRAH05\Data\pacltest\*.* E:\PACL6>pacomp -a -r -P -k -c2 PACL6prob.zip @PACL6prob.lst PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Decision Systems Ltd Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2 Internet: http://www.powerarchiver.com Email: support@conexware.com Archive: E:\PACL6\PACL6prob.zip preparing to compress... adding: pacltest\F1\FILE1.TXT --> Done. [12%] adding: pacltest\F1\FILE2.TXT --> Done. [25%] adding: pacltest\F2\FILE3.TXT --> Done. [37%] adding: pacltest\F2\FILE4.TXT --> Done. [50%] adding: pacltest\F1\FILE1.TXT --> Done. [62%] adding: pacltest\F1\FILE2.TXT --> Done. [75%] adding: pacltest\F2\FILE3.TXT --> Done. [87%] adding: pacltest\F2\FILE4.TXT --> Done. [100%] All OK E:\PACL6>paext -t PACL6prob.zip PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Decision Systems Ltd Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,... Internet: http://www.powerarchiver.com Email: support@conexware.com Archive --> E:\PACL6\PACL6prob.zip [ZIP] testing: pacltest\F1\FILE1.TXT --> OK [12%] testing: pacltest\F1\FILE2.TXT --> OK [25%] testing: pacltest\F2\FILE3.TXT --> OK [37%] testing: pacltest\F2\FILE4.TXT --> OK [50%] testing: pacltest\F1\FILE1.TXT --> OK [62%] testing: pacltest\F1\FILE2.TXT --> OK [75%] testing: pacltest\F2\FILE3.TXT --> OK [87%] testing: pacltest\F2\FILE4.TXT --> OK [100%] E:\PACL6>pause Press any key to continue . . .It doesn’t come up with the ‘*** ERROR (): DefaultDir’ message (as it does with -p) but what you do get, somehow, is duplicate files as shown above.
Bug? ;)
-
No it doesn’t - unfortunately.
It doesn’t come up with the ‘*** ERROR (): DefaultDir’ message (as it does with -p) but what you do get, somehow, is duplicate files as shown above.
Bug? ;)
My guess is that you have the same directory and file structure in both computer shares. The files will be added to the archive with full path, but the path is the exactly the same on both computer shares.
I’ll probably be able to reproduce this when using different drive letters if the path and files is the same on both drives.
I have also been successful with use of the -p parameter on multiple line list files on some occasions. I need to do some more tests to see how I can recreate a successful results with the -p parameter and multiple line list files.
Kind Regards
Micke -
what you do get, somehow, is duplicate files as shown above.
I get the same results when I use drive letters in list file.
Listfile_Doublerow.txt
Q:\Dokument\Amiga\*.* R:\Dokument\Amiga\*.*Q:\>pacomp -a -P -r Test_Doublerow.zip @Listfile_Doublerow.txt PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2 Internet: http://www.powerarchiver.com Email: support@conexware.com Archive: Q:\Test_Doublerow.zip preparing to compress... adding: Dokument\Amiga\Deluxe Paint 4 Manual.pdf --> Done. [2%] adding: Dokument\Amiga\REFSCAN1.PCX --> Done. [4%] adding: Dokument\Amiga\REFSCAN2.PCX --> Done. [6%] adding: Dokument\Amiga\REFSCAN3.PCX --> Done. [7%] adding: Dokument\Amiga\REFSCAN4.PCX --> Done. [9%] adding: Dokument\Amiga\REFSCAN5.PCX --> Done. [11%] adding: Dokument\Amiga\REFSCAN6.PCX --> Done. [12%] adding: Dokument\Amiga\Amiga XP x86.pdf --> Done. [45%] adding: Dokument\Amiga\TF\3Pluto.pcx --> Done. [46%] adding: Dokument\Amiga\TF\4Goofy.pcx --> Done. [48%] adding: Dokument\Amiga\TF\5Donald.pcx --> Done. [49%] adding: Dokument\Amiga\TF\6Daisy.pcx --> Done. [49%] adding: Dokument\Amiga\TF\3Pluto.pcx --> Done. [50%] adding: Dokument\Amiga\TF\4Goofy.pcx --> Done. [52%] adding: Dokument\Amiga\TF\5Donald.pcx --> Done. [53%] adding: Dokument\Amiga\TF\6Daisy.pcx --> Done. [54%] adding: Dokument\Amiga\Deluxe Paint 4 Manual.pdf --> Done. [56%] adding: Dokument\Amiga\REFSCAN1.PCX --> Done. [58%] adding: Dokument\Amiga\REFSCAN2.PCX --> Done. [60%] adding: Dokument\Amiga\REFSCAN3.PCX --> Done. [61%] adding: Dokument\Amiga\REFSCAN4.PCX --> Done. [63%] adding: Dokument\Amiga\REFSCAN5.PCX --> Done. [65%] adding: Dokument\Amiga\REFSCAN6.PCX --> Done. [66%] adding: Dokument\Amiga\Amiga XP x86.pdf --> Done. [100%] All OK Q:\>paext -t Test_Doublerow.zip PowerArchiver Command Line (PACL) Version 6.01 [Feb 07 2010] Copyright(c) 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version This product is licensed to: Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,... Internet: http://www.powerarchiver.com Email: support@conexware.com Archive --> Q:\Test_Doublerow.zip [ZIP] testing: Dokument\Amiga\Deluxe Paint 4 Manual.pdf --> OK [2%] testing: Dokument\Amiga\REFSCAN1.PCX --> OK [4%] testing: Dokument\Amiga\REFSCAN2.PCX --> OK [6%] testing: Dokument\Amiga\REFSCAN3.PCX --> OK [7%] testing: Dokument\Amiga\REFSCAN4.PCX --> OK [9%] testing: Dokument\Amiga\REFSCAN5.PCX --> OK [11%] testing: Dokument\Amiga\REFSCAN6.PCX --> OK [12%] testing: Dokument\Amiga\Amiga XP x86.pdf --> OK [45%] testing: Dokument\Amiga\TF\3Pluto.pcx --> OK [46%] testing: Dokument\Amiga\TF\4Goofy.pcx --> OK [48%] testing: Dokument\Amiga\TF\5Donald.pcx --> OK [49%] testing: Dokument\Amiga\TF\6Daisy.pcx --> OK [49%] testing: Dokument\Amiga\TF\3Pluto.pcx --> OK [50%] testing: Dokument\Amiga\TF\4Goofy.pcx --> OK [52%] testing: Dokument\Amiga\TF\5Donald.pcx --> OK [53%] testing: Dokument\Amiga\TF\6Daisy.pcx --> OK [54%] testing: Dokument\Amiga\Deluxe Paint 4 Manual.pdf --> OK [56%] testing: Dokument\Amiga\REFSCAN1.PCX --> OK [58%] testing: Dokument\Amiga\REFSCAN2.PCX --> OK [60%] testing: Dokument\Amiga\REFSCAN3.PCX --> OK [61%] testing: Dokument\Amiga\REFSCAN4.PCX --> OK [63%] testing: Dokument\Amiga\REFSCAN5.PCX --> OK [65%] testing: Dokument\Amiga\REFSCAN6.PCX --> OK [66%] testing: Dokument\Amiga\Amiga XP x86.pdf --> OK [100%] Q:\>The duplicate files is logic because the path is exactly the same in both rows except for the drive letter. It’s a bug because obvious nobody have tried using same path and filenames but on different machines and/or drive letters before. :)
Kind Regards
Micke -
PACL 6.02 RC:
http://www.powerarchiver.com/test/release10/pacl602.exePlease check your reported issues and see if they are fixed or not… thanks!
-
OK - I haven’t been able to do as much testing as I would like but the storing of the “\<machine><sharename>” issue isn’t fixed and I can’t see a work around.</sharename></machine>
-
Reading back through the thread it looks like this isn’t going to be fixed. I’ll try and do more testing later this week.
-
open up an wish in wishlist thread… it would be some new option to store drive letters and network locations i guess.
-
Hi!
I have now tested using listfile with 2 rows in it and use the parameter -p (store relative path names). Here’s the result from that test using PACL 6.02Content of Listfile_Doublerow.txt
Q:\Dokument\Amiga\*.pcx R:\Cinemaware\*.adf ```Create the archive using -p parameter and the created listfile.D:\PACL_Test>pacomp -a -p Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Copyright© 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.comArchive: D:\PACL_Test\Test_PACOMP_ListDouble.zip
preparing to compress…*** ERROR (): DefaultDir
*** WARNING: Nothing to add or update…1 error(s) encountered
D:\PACL_Test>
Now with use of parameter -P (Store full path names)D:\PACL_Test>pacomp -a -P Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Copyright© 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.comArchive: D:\PACL_Test\Test_PACOMP_ListDouble.zip
preparing to compress…
adding: Dokument\Amiga\REFSCAN1.PCX --> Done. [0%]
adding: Dokument\Amiga\REFSCAN2.PCX --> Done. [1%]
adding: Dokument\Amiga\REFSCAN3.PCX --> Done. [1%]
adding: Dokument\Amiga\REFSCAN4.PCX --> Done. [2%]
adding: Dokument\Amiga\REFSCAN5.PCX --> Done. [2%]
adding: Dokument\Amiga\REFSCAN6.PCX --> Done. [3%]
adding: Cinemaware\ICFTD21.adf --> Done. [11%]
adding: Cinemaware\ICFTD22.adf --> Done. [20%]
adding: Cinemaware\ICFTD23.adf --> Done. [29%]
adding: Cinemaware\it_came_from_the_desert-1.adf --> Done. [38%]
adding: Cinemaware\it_came_from_the_desert-2.adf --> Done. [47%]
adding: Cinemaware\it_came_from_the_desert-3.adf --> Done. [55%]
adding: Cinemaware\Tvbaskt1.adf --> Done. [64%]
adding: Cinemaware\TVBASKT2.ADF --> Done. [73%]
adding: Cinemaware\tvsportboxing.adf --> Done. [82%]
adding: Cinemaware\TVSportsBaseball-1.adf --> Done. [91%]
adding: Cinemaware\TVSportsBaseball-2.adf --> Done. [100%]All OK
D:\PACL_Test>
Test result: **NOT OK** The same error happens with PACL 6.02 as with PACL 6.01 Kind Regards Micke -
Hi!
Just finished testing archiving from shares. Here’s the result from the test of PACL 6.02Content of Listfile_Machines.txt
\\TestPC\Public\PACL_Test\*.* \\TestPC\Install\PACL_Test\*.* ```Create the archive using a listfileD:\PACL_Test>pacomp -a -r -P Test_PACOMP_MachineShare.zip @Listfile_Machine.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Copyright© 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.comArchive: D:\PACL_Test\Test_PACOMP_MachineShare.zip
preparing to compress…
adding: PACL_Test\F1\FILE2.TXT --> Done. [9%]
adding: PACL_Test\F1\FILE3.TXT --> Done. [13%]
adding: PACL_Test\F1\FILE1.BAT --> Done. [19%]
adding: PACL_Test\F2\FILE2.TXT --> Done. [29%]
adding: PACL_Test\F2\FILE3.TXT --> Done. [32%]
adding: PACL_Test\F2\FILE1.BAT --> Done. [38%]
adding: PACL_Test\MANUAL.TXT --> Done. [48%]
adding: PACL_Test\F2\FILE1.TXT --> Done. [54%]
adding: PACL_Test\F2\FILE2.BAT --> Done. [63%]
adding: PACL_Test\F2\AILE3.TXT --> Done. [67%]
adding: PACL_Test\F2\FILE1.zip --> Done. [70%]
adding: PACL_Test\F1\FILE3.BAT --> Done. [74%]
adding: PACL_Test\F1\FILE1.BAT --> Done. [84%]
adding: PACL_Test\F1\FILE2.TXT --> Done. [90%]
adding: PACL_Test\MANUAL.TXT --> Done. [100%]All OK
D:\PACL_Test>
List the contents of the created archiveD:\PACL_Test>paext -v Test_PACOMP_MachineShare.zip
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Copyright© 1999-2010 ConeXware, Inc. All Rights Reserved. Registered Version
This product is licensed to:
Archive Extr.—ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,…
Internet: http://www.powerarchiver.com Email: support@conexware.comArchive --> D:\PACL_Test\Test_PACOMP_MachineShare.zip [ZIP]
Name Length Method Ratio Size Date & Time CRC-32
PACL_Test\F1\FILE2.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F1\FILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F1\FILE1.BAT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\F2\FILE2.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\FILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F2\FILE1.BAT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\MANUAL.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\FILE1.TXT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\F2\FILE2.BAT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\AILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F2\FILE1.zip
4406 DFLT-N 1% 4377 03-13-2010 20:44:16 e555fa01
PACL_Test\F1\FILE3.BAT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F1\FILE1.BAT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F1\FILE2.TXT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\MANUAL.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
*Totals 15 142642 70% 43387 10-19-2010 21:56:00
D:\PACL_Test>
The result is the same as with 6.01\. I don't know if there's a option for storing \\machine\sharename in the path when creating a archive like this. Kind Regards Micke -
Thanks Micke for your excellent analysis - you beat me to it :)
-
so compressing from network shares works, but it doesnt save share name?
-
That’s correct. From what I can see PACL 6.02 behave and stores the path exactly the same as PACL 6.01.
Now usually this is not a problem as long as the paths are different in the list file. In these test only the sharename is different resulting in a problem when the rest of the path is exactly the same.
Personally I would like to have a parameter when using PACOMP that says store the <machinename>\ <sharename>in the path when creating archive. If the parameter isn’t used, then the result would be as it is now without storing <machinename>\ <sharename>in the path.
Kind Regards
Micke</sharename></machinename></sharename></machinename> -
Couldn’t you just treat the <machinename>and <sharename>as folders when in the zip? That way you wouldn’t need a parameter and would be compatible with all archive types. That would be cleaner.</sharename></machinename>
-
thats how it is usually done - as part of the path, but it should be optional since not everyone wants to have it… it is drive letter and network share.
