ftpscan v1.0 will open a specific file [-f file], get the IPs from it, then, check if FTP port [ -p 21 ] is open and log the version. If you specify the [ -o ] flag it will try to log into the FTP server and execute the LIST command [recursive] (useful for checking for existence of world writeable directories).
You can download it from the following link: https://packetstormsecurity.com/files/download/14150/ftpscan.c
Source: https://packetstormsecurity.com/files/14150/ftpscan.c.html

