Cannot create compressed spitted file using 7zip E_NOTIMPL

7-zip

I'm trying to compress a folder protect it with password and split if the file size is bigger than 3333MB using 7z.

7za a  -ptesttest -mhe=on  -mx0 -v3333m /tmp/Test.7z  /tmp/xxx/

7-Zip (A) [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)


System error:
E_NOTIMPL   

but when I do:

7z a -ptesttest -mhe=on  -mx0 /tmp/Test.7z  /tmp/xxx/

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Scanning

Updating archive /tmp/Test.7z

Compressing  xxx/test-day.jpg      

Everything is Ok

I'm using ubuntu 16.04

Best Answer

Make sure that archive file name has .7z extension. I got 'System ERROR: E_NOTIMPL' when I tried

7z a archive.z myfile.txt

It should be

7z a archive.7z myfile.txt