I need a tool that will allow me to export all my website data from my linux server to wsftp program. The data to be exported will include the following:
[site name]
i.p. address
username
password
My servers are running cpanel and ensim. The script should allow me to enter either my root username and password for the server or just the control panel login information.? It should? also ask me to select which? control panel I am using (cpanel, ensim, etc) if necessary.
The script will find the configuration file on the server, extract the data above and format it into a wsftp format which looks like this:
[[login to view URL]]
HOST="[login to view URL]"
UID="abcdef"
PWD="_P6IKJMcO4Cz/63nh"
TABCOLOR="default"
AutoTimeOffsetPath="/"
1033ConvertDirListFrom=0
1033ConvertASCIIDownloadFrom=0
1033ConvertASCIIUploadTo=0
Use128bitSSLAtLeast=0
UseSSLv3Only=0
ClearCommandChannel=0
ClearDataChannel=0
RETRIES=0
TRANSFERCONN=2
PGPENCODETYPE=0
DIR="/var/www/html"
dir0=/var/www/html
dir1=/home/pathname
[[login to view URL]]
HOST="[login to view URL]"
UID="abcdef"
PWD="_P6IKJMcO4Cz/63nh"
TABCOLOR="default"
AutoTimeOffsetPath="/"
1033ConvertDirListFrom=0
1033ConvertASCIIDownloadFrom=0
1033ConvertASCIIUploadTo=0
Use128bitSSLAtLeast=0
UseSSLv3Only=0
ClearCommandChannel=0
ClearDataChannel=0
RETRIES=0
TRANSFERCONN=2
PGPENCODETYPE=0
DIR="/var/www/html"
dir0=/var/www/html
dir1=/home/pathname
The objective is easily build my ftp site list without having to manually add each site one at a time. If my server has 1000 sites on it.... this would take a long time.
Someone who is familiar with ensim, cpanel or plesk should be able to do this easily.