Intro
The following code is an adaptation of Sean B. Palmer's nftp.py script. It was created to allow copying files to remote servers for backup purposes.
The script will itterate through a specified folder (or multiple folders) and copy it's contents to the remote ftp server.
Requirements
Two files are required: xnftp.py and xnftp.conf
This script was tested on esxi4 running python 2.5
to backup a complete folder, issue the following command:
python arcoftp.py -d ${VM_NAME} ${BACKUP_SERVER}