Support

UNiTE, Remote CLI, eXtract Wizard

#23711 dlmode being correctly recognized

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, 16 December 2015 17:20 CST

rhellyer
 I had set my dlmode to curl, but noticed that the tool was using http and not curl.

It looks like this is an error in the code method 'UStepRemote' where it is testing for 'dlmode' instead of 'downloadmode' as a field in the sitedef 'remote' array . (or, alternatively, the field is being set as 'downloadmode' instead of 'dlmode' in the validate method)

This is the testing code

// Download the backup archive
		$dlmode = array_key_exists('dlmode', $this->siteDef['remote']) ? $this->siteDef['remote']['dlmode'] : 'http';


and this is a part of the dump of the 'remote' array being tested against

["remote"]=>
  array(8) {
    ["host"]=>
    string(27) "http://journeywithjesus.net"
    ["secret"]=>
    string(9) "heisrisen"
    ["profile"]=>
    int(1)
    ["downloadmode"]=>
    string(4) "curl"
    ["dlurl"]=>
    string(105) "ftp://danclend:EBrd;[email protected]:21/public_html/administrator/components/com_akeeba/backup"
    ["delete"]=>
    bool(true)
    ["verb"]=>
    string(4) "POST"
    ["format"]=>
    string(4) "html"
  }


I've not had time (or the courage) to make the change and test it out.
Richard

tampe125
Akeeba Staff
Hello Richard ,

thank you very much for your detailed report!
I just fixed it, you'll find it inside the next version

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!