genomepy.online.connect_ftp_link
- genomepy.online.connect_ftp_link(link, timeout=None) Tuple[FTP, str]
Anonymous login to ftp.
Accepts link in the form of ftp://ftp.name.domain/… and ftp.name.domain/…
- Parameters
link (str) – FTP link
timeout (int, optional) – number of idle seconds before the connection closes
- Returns
- ftp: FTP
object with connection established
- target: str
target file
- Return type
tuple