Links

S Connect

Tags: #ftp #ftps #file #naas_drivers #operations #snippet
Author: Jeremy Ravenel​

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

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