S Connect
Tags: #ftps #file #naas_drivers
Author: Jeremy Ravenel

Input

Import library

1
from naas_drivers import ftp
Copied!

Variables

1
path = "/path/to/file/in/ftp"
2
user = "my user"
3
passwd = "my passwd"
Copied!

Model

Connect to ftp

1
ftp = ftp.connect(user, passwd)
Copied!

Output

Get the path

1
ftps = ftp.connect(user, passwd)
2
ftps.get(path)
Copied!
Last modified 2mo ago
Copy link
Edit on GitHub