Subj : Archive.extract() with max_files parameter
To : Digital Man
From : Nightfox
Date : Wed Aug 03 2022 09:00 am
Re: Archive.extract() with max_files parameter
By: Digital Man to Nightfox on Tue Aug 02 2022 05:20 pm
>> a filename pattern and expected exactly 1 file to be extracted, so I
>> also gave a max_files argument as 1. It extracted the one file, but
>> it threw an exception with the error "Error: maximum number of files
>> (1) extracted (after extracting 1 item successfully)".
DM> I can see how that would be surprising behavior. I just committed a
DM> change. Let me know how that works for you.
I've updated, and now it doesn't throw an exception for this case. Thanks.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com