===== Q: How to upgrade/add plugins and themes without using main cPanel username and password?===== Every time you update/add plugins and themes Oxwall asks you to enter FTP attributes: host name, control panel username and password. In case you don't want to give out this information you can set separate FTP accounts with access to only needed data on your server. Requirements: access to your control panel, access to admin panel. |**Important!!!**: Make sure that your FTP domain (ftp.yourdomain.com) is valid. OR use **localhost** instead| ====If Oxwall is installed under your main domain name: ==== 1. Log in to your control panel>FTP Accounts. 2. Create new FTP account. Make sure the **directory** option in the ftp form shows "public_html". The default value will show as "public_html/{$login_name}". Remove the name ( highlighted in red on screen shot) so that it is just "public_html". {{:faq:ftpaccount.png?400|}} {{:faq:ftaccountmain_final.png?400|}} 3. Done. Next time when Oxwall asks you for FTP attributes use: * Host name: "ftp.yourmaindomainname.com" OR "localhost" * Username: created_login_name@yourdomain.com ( ex: oxftpmain@mymaindomainname.com) * Password: created password * Port: 21 ====If Oxwall is installed under sub/addon domain name or subfolder: ==== 1. Log in to your control panel>FTP Accounts. 2. Create new FTP account. The name will default to be your main domain so you can name it, for example, oxftpsub@your_main_domain.com. Make sure to change** directory** option in ftp form. The default value will show "/public_html/{$login_name}"). Change it to: "/public_html/**your_sub_or_addon_dir_name ** . For example: my Oxwall site is installed under www.mymaindomainname.com/oxwall153, therefore when creating new FTP account I will use "/public_html/oxwall153" instead of default value. {{:faq:ftpaccountsub.png?400|}} {{:faq:screenshot-29.png?400|}} Do not remove or change any slashes at all, just change the location from the default to your sub or add on domain (if there is a trailing slash in the default then leave it). 3. Done. Next time when Oxwall asks you for FTP attributes use: * Host name: "ftp.yourmaindomainname.com" OR "localhost" * Username: created_login_name@yourdomain.com ( ex: oxftpmain@mymaindomainname.com) * Password: created password * Port: 21 |**Note**: This documentation was provided by our contributor [[http://www.oxwall.org/user/durangod| Dave ]]. Original instructions can be found [[http://www.oxwall.org/forum/topic/12297|here]] |