A MOXA Video IP Server has an integrated ftp server. Grabbing an image
from the ip video server can be done with the following method: def
Grab():
from ftplib import FTP
ftp=FTP('193.69.239.119','root','0002D10048BF')
ftp.retrbinary('RETR video.jpg',open('/video.jpg','wb').write)
# read the video image using ftp
ftp.quit()
ExecuteCmd('Grab','Filename=/video.jpg;convert=bw') # grabs the image
from file Note: Requires installation of Python and Python for
Windows Extentions |