To activate the FTP mode in ensim control panel to, mode in ensim control panel to ACTIVE mo

November 27, 2006 / Control Panels

To activate the FTP mode in ensim control panel to ACTIVE mode the following has to be achieved,

You will need to manually edit some ensim files to turn off the passive
the mode that ensim uses to transfer files via FTP.

Change the following lines in the file:

/usr/lib/opcenter/vhbackup/vhbackup

Search for ncftpput and add the -E option to the FTP command.

Old line:
ftpcmd = /usr/bin/ncftpput -f %s/ncftp.cfg %s %s %
(tempdir,remotexml,localtar)

New line:
ftpcmd = /usr/bin/ncftpput -E -f %s/ncftp.cfg %s %s %
(tempdir,remotexml,localtar)

Change the following lines in the file:

/usr/lib/opcenter/vhbackup/vhrestore

Search for ncftpget and add the -E option to the FTP command.

Old line:
cmd = /usr/bin/ncftpget -f %s/ncftp.cfg %s %s %
(temp_dir,local_dir,remote_file)

New line:
cmd = /usr/bin/ncftpget -E -f %s/ncftp.cfg %s %s %
(temp_dir,local_dir,remote_file)