Links

Get file

Tags: #ftp #file #naas_drivers #operations #snippet #dataframe
Author: Jeremy Ravenel
Description: This notebook retrieves a file from an FTP server.

Input

Import library

from naas_drivers import ftp

Variables

path = "/path/to/file/in/ftp"
user = "my user"
passwd = "my passwd"

Model

Connect to ftp

ftp = ftp.connect(user, passwd)

Output

Get the path

ftp = ftp.connect(user, passwd)
ftp.get(path)
Last modified 1mo ago