Create ZIP File of all the uploaded files

Hi,

Can anyone suggest me how to create a zip file of all the uploaded files.

I’m using “batch data upload” feature of smartclient and as per my requirement, I want to send all the uploaded file in one zip file.

Please suggest me how can I do the same using smartclient -12

Hi @vikashdwi,

this does not make sense. Are talking about BatchUploader or MultiFileItem?

Batch Uploader converts csv rows to DB rows.

Best regards
Blama

Hi @Blama

Sorry, I’m using MultiFileItem now to upload multiple files.

Regards,
Vikash

getUploadedFiles() provides you the files. From there you can use standard Java approaches to creating a zip file if you want.