Sample ftp script (python) for ESXI 4

Sample ftp script (python) for ESXI 4

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}

Version history
Revision #:
1 of 1
Last update:
‎09-09-2009 05:30 AM
Updated by: