Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 02:05 AM
hey i want to know how to connect Databricks with the FTP server ??? any help would be really appreciated
Labels:
- Labels:
-
Databricks notebook
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 02:08 AM
hey @Punit Chauhan , refer this code to connect with FTP server
Host=""
Login=""
Passwd=""
ftp_dir=""
ftp = ftplib.FTP(Host)
ftp.login(Login,Passwd)
ftp.cwd(ftp_dir)
files=ftp.nlst(ftp_dir)
print(files)
Rishabh Pandey
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 02:08 AM
hey @Punit Chauhan , refer this code to connect with FTP server
Host=""
Login=""
Passwd=""
ftp_dir=""
ftp = ftplib.FTP(Host)
ftp.login(Login,Passwd)
ftp.cwd(ftp_dir)
files=ftp.nlst(ftp_dir)
print(files)
Rishabh Pandey
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 02:09 AM
Thanks will check this snippet @Rishabh Pandey