genomepy
  • Home
  • Installation
  • Command line documentation
  • Python API documentation (core)
  • Python API documentation (full)
    • genomepy.annotation
    • genomepy.argparse_support
    • genomepy.caching
    • genomepy.cli
    • genomepy.config
    • genomepy.exceptions
    • genomepy.files
    • genomepy.functions
    • genomepy.genome
    • genomepy.online
      • genomepy.online.check_url
      • genomepy.online.connect_ftp_link
        • connect_ftp_link()
      • genomepy.online.download_file
      • genomepy.online.read_url
      • genomepy.online.retry
    • genomepy.plugins
    • genomepy.providers
    • genomepy.seq
    • genomepy.utils
  • Configuration
  • FAQ
  • About
genomepy
  • genomepy
  • genomepy.online
  • genomepy.online.connect_ftp_link
  • Edit on GitHub

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

Previous Next

© Copyright Siebren Frölich, Maarten van der Sande, Tilman Schäfers and Simon van Heeringen. Last updated on 2024-12-18, 13:21 (UTC).

Built with Sphinx using a theme provided by Read the Docs.