Support

UNiTE, Remote CLI, eXtract Wizard

#23982 Unite : only .jpa is deleted in INBOX, not .jxx parts

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by on Wednesday, 20 January 2016 17:20 CST

jmsantoni
 Hello there,

I've been trying to use Unite 2.0.1 with mutliparts backup files (.jpa and .j01, j02, ... jxx parts).

It works fine to transfer from remote to INBOX folder, and restore then.

But only .jpa file is deleted then, if I specify to delete of course in XML file... the .j01, .j02... files remain in INBOX folder.

Could you please plan to improve the 'Extract' step to add this kind of code to unlink all the archive parts, not .jpa only :


$pointSign = strrpos($this->siteDef['siteInfo']['package'], '.');
$mask_to_unlink = substr($this->siteDef['siteInfo']['package'], 0, $pointSign).'.*';
array_map( "unlink", glob( $mask_to_unlink ) );

Thanks anyway for providing such a useful tool.

Kind regards,
JM Santoni

tampe125
Akeeba Staff
Hello,

thank you very much for your report, I'll fix it right now

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!