I want to make a login system for my program, and i want it to pull the list from an ftp as an text document. (Lets say its ftp.notarealftpsite.lol)

The text document will be arranged like this:
Code:
user:pass
ipwn:not
ilolz:yet
and i want the program to search for the provided username and password in the list and switch to form2 if its found, else it will throw an error at the user.

How will this be accomplished? Help.