Support

UNiTE, Remote CLI, eXtract Wizard

#16014 remoteCLI error 103 -- 9

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 nicholas on Thursday, 09 May 2013 11:32 CDT

user50294
information about my setup:

Have I read the related troubleshooter articles above before posting ? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting? Yes
Joomla! version: 2.5.11
PHP version: 5.3.5
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba eXtract Wizard / Remote CLI / SiteDiff version: RemoteCLI 1.2

EXTREMELY IMPORTANT: Please attach a ZIP file containing the Remote Control and Akeeba Backup log files if you are reporting an Akeeba Remote Control issue, othrewise we can not help you. Remember that your attachment must be a ZIP file! Other file formats (including .txt) may be silently rejected by our site.

Description of my issue:

i execute remote.phar from a local server running debian squeeze and php 5.3.5:

php remote.phar --action=backup --host=http://xxxxx.xx --secret=xxxx --download --dlmode=curl --dlurl=ftp://[email protected]:[email protected]/path/to/backup --dlpath=/dl/path/inside/local/server --delete

the script do the backup correctly but when is about to download the backup file i get this error

Error #103: Could not download /dl/path/inside/local/server/site-backup.zip -- 9 : Server denied you to change to the given directory

i tried different dlpaths (all valid, with 777 permission, all reachable with filezilla), i tried to store the backup to dropbox, i tried to execute the script in a mac using osx 10.7.5 using different dlpaths, but i always get the same error.
if i change the dlmode to "http" the file is downloaded correctly.

Thanks in advance for your help.

nicholas
Akeeba Staff
Manager
This seems to be an issue with the remote FTP server. Even though you can connect to it, it won't allow you to change to the specified path. I suspect that you are giving it the filesystem path (relative to the filesystem's root), not the FTP path (relative to the FTP's root).

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user50294
dlpath is the ftp path of the local server, if i change the dlmode to http the file is correctly downloaded inside the specified path.

user50294

user50294
sorry for the blank post, i cant delete it.

i cant understand what you mean...

dlurl is webserver ftp path, like: dlurl=ftp://user:[email protected]/path/to/backup

dlpath is local server ftp path, like: dlpath=/downloads/remotebackups

should i use a dlpath like: dlpath=ftp://user:[email protected]/path/ ?



nicholas
Akeeba Staff
Manager
I mean that the dlurl seems to be incorrect. The ftp://user:[email protected] is correct, as you can connect to your FTP server. But the path/to/backup seems to be wrong and your server is spitting an error.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user50294
i got it, the problem was with dlurl, i had to add www.site.com/path/to/backup, so:
dlurl=ftp://user:[email protected]/www.site.com/path/to/backup

i'm gonna close the ticket
thanks for help and sorry if i have wasted some of your time!

nicholas
Akeeba Staff
Manager
No problem! FTP paths are tricky and I occasionally screw them up myself :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!