I have a config file with many ftp details
[FTP1 DIRECTORY DETAILS]
SERVER = 127.0.0.1
DIRECTORY = /home/ee
In my shell script i have to parse this file and get the details for the needed FTP server and save in a variables/arrays.
How can i do this ?