@Shalini.YPatted
In Python, you can use the ftplib library.
Please refer to the answer on this thread.
Do you mean pulling data from Data Model Discovery via FTP links? If yes, as I know, we don't provide this feature in Data Model Discovery.
If not, please specify the product that you are using.
The products that support FTP download include: