@SS COMMENTS THE FOLLOWING: Thanks for the input.
I have already listed down the genomes I want to include.I don't know which sort of dataset I should use there are contigs, transcripts , masked ,unmasked sequences.
I need simply the datasets of genes (nucleotides). When I try with NCBI RefSeq FTP, the genomes datasets are arranged into chromosomes. These chromosomes lack the distribution of genes but they are just fasta sequences for the whole chromosomes.
So, I am stuck at the very step itself.I looked into the specific databases too but there is no such option as gene dataset download