PyFtpUtils 1.0
Download at
PyFtpUtils.tar.gz
pyFtpUtils package
contents:
ftp.conf configuration file
pyFtpConf.py
configuration script written with a dialog handler..
"/usr/bin/dialog" must exist.
pyGet.py
Get a remote file from a pre defined site with a command
pyPut.py
Get a remote file from a pre defined site with a command
pyFtpList.py
List a remote directory
contains different script to manage various ftp sites only with a command
line ("without having to log manually to a server , you just have a
configuration script with all your sites and authentication information
and you use this scripts to Get , Put or List files from various
ftp sites ...")
this package has a nice configuration program coded with
a class handler to a great linux program called dialog, the main
handling class was found on the net and i modified some of it..
well the configuration file is called ftp.conf
and uses a structure of lines with ":" separator like:
"Name:IPAdd:Login:Pass:DirIn
where
Name = Alias for your site, later you will use this as a handle
for a connection
IPAdd = Ip address or host internet address
Login = login
Pass = pass
DirIn = initial directory