I want to write a batch file(using DOS script or UNIX script), which could be used to check FTP connectivity issues. The script should check the followings and generate a log file, with connection status information
1.) Detect any firewall issues for both active and passive modes
2.) Detect which firewall has got the issue ( client or server )
3.) Check for any file transfer and time out issues.
4.) Detect any user name password issues.
5.) The speed of the connection.
First two points are highly important to me.( I can give full points for those two)
Also I will prefer for some other languages like VB, Java, C, ..etc.( Other than DOS or UNIX shell scripts)
I just want a solution which can run on LINUX or WINDOWS.