Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from ftplib import FTP
- ftp = FTP('gis.arkansas.gov')
- ftp.login()
- ftp.cwd('Elevation')
- ftp.retrlines('LIST')
- >>> ftp.retrlines('LIST')
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 AGFC_RAW
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 AR State Parks
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Bayou Meto Lidar Phase I
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Bayou_Meto_Watershed
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Beaver_Lake
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Beaver_Tailwater
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Black_River
- drwxr-xr-x 1 ftp ftp 0 May 30 09:24 Blue_Mountain
- # ... And so on ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement