Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check OFTP (Odette FTP server) connection.
Current Version
1.2.82
Last Release Date
2010-08-12
Owner
Vinz
Website
https://github.com/bigbrozer/netplugins
Download URL
https://github.com/bigbrozer/netplugins/archive/1.2.82.tar.gz
License
GPL
Compatible With
It will create a TCP socket to an OFTP server and port then try to search for "READY" string in received data a defined amount of time (see help --> timeout option).
Usage: check_oftp.py [options]
Options: -h, --help show this help message and exit -H HOSTNAME OFTP server address -p PORT OFTP server port -t TIMEOUT Response timeout (default: 5 secs)
Example:
python check_oftp.py -H your_host -p port
Note: Timeout option needs a float integer (like "2.0" for two seconds) !
Requirements:
All you need is a standard Python installation. The script was created using Python 2.6, not sure if it will work with earlier versions.
Note: You can specify another shebang in the script (check first line).
You must be logged in to submit a review.
To:
From: