get data from sqlsver, make a textfile and ftp the textfile to ftpServer